Skip to content

Commit 8d9ac04

Browse files
committed
Fix padding
1 parent 9c1d923 commit 8d9ac04

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/assets/extra.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,24 @@
5252
}
5353

5454
pre {
55-
line-height: 140%;
55+
margin: 0;
56+
border: 0;
57+
@media screen and (max-width: 44.9375em) { /* ~719px */
58+
margin-left: 20px;
59+
}
5660
}
5761

5862
pre > code {
59-
padding-left: 20px !important;
60-
padding-right: 20px !important;
63+
line-height: 140%;
64+
padding-left: 20px;
65+
66+
@media screen and (max-width: 44.9375em) { /* ~719px */
67+
margin: 0;
68+
border: 0;
69+
padding-left: 20px !important;
70+
}
6171
}
72+
6273
}
6374

6475
/* Target only the page title (first H1 in the article) */

0 commit comments

Comments
 (0)