Skip to content

Commit b3d4a2c

Browse files
committed
Fix codeblocks overflowing main content div
1 parent a2d9c16 commit b3d4a2c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

theme/css/partials/content.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
article {
22
padding-top: 12px;
33
margin: 0px 24px 24px 24px;
4+
min-width: 0px;
45
}

theme/css/theme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ article ol, article p, article ul {
3333
margin-right: auto;
3434
}
3535

36+
main {
37+
min-width: 0;
38+
}
39+
3640
.normalize-link {
3741
color: inherit;
3842
text-decoration: none;
@@ -52,6 +56,7 @@ pre code {
5256
display: block;
5357
padding: 0.5em;
5458
border-radius: 4px;
59+
overflow-x: auto;
5560
}
5661

5762
.admonition {

0 commit comments

Comments
 (0)