Skip to content

Commit 785f6cf

Browse files
authored
Merge pull request #13 from Yarwin/handle-overflow-in-pre-blocks
Handle overflow in pre blocks
2 parents a5c13a8 + 238aa76 commit 785f6cf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

website/src/css/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ html {
154154
/*color: var(--brown-caption-dark);*/
155155
}
156156

157+
pre {
158+
overflow-x: scroll;
159+
}
160+
157161
.markdown-content pre {
158162
@apply rounded-xl;
159163
@apply px-3;

website/static/css/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ strong {
284284
4. Correct the odd `em` font sizing in all browsers.
285285
*/
286286

287+
pre {
288+
overflow-x: scroll;
289+
}
290+
287291
code,
288292
kbd,
289293
samp,

0 commit comments

Comments
 (0)