Skip to content

Commit 7bf0f89

Browse files
committed
limit height of pre blocks
1 parent 94434d5 commit 7bf0f89

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

Hax/css/screen.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,10 @@ td, th {
525525

526526
.article pre {
527527
word-wrap: break-word;
528-
overflow: auto;
529528
font-size: 1rem;
529+
max-height: 75vh;
530+
overflow: auto;
531+
padding: 0.5em;
530532
}
531533

532534
.article__title {

Hax/style.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,8 +1128,10 @@ td, th {
11281128

11291129
.article pre {
11301130
word-wrap: break-word;
1131-
overflow: auto;
11321131
font-size: 1rem;
1132+
max-height: 75vh;
1133+
overflow: auto;
1134+
padding: 0.5em;
11331135
}
11341136

11351137
.article__title {
@@ -1212,6 +1214,12 @@ td, th {
12121214
margin-top: -.1em;
12131215
border-radius: .2em;
12141216
}
1217+
.comment__util {
1218+
font-size: .8em;
1219+
}
1220+
.comment__util * + *:before {
1221+
content: ' • ';
1222+
}
12151223

12161224
#cmt-ackbar {
12171225
position: absolute;

0 commit comments

Comments
 (0)