Commit f34ad00
committed
fix(styles): remove custom pre padding for highlight.js compatibility
The pre element padding was changed from 1.25rem to zero so that Highlight.js
can control the inner spacing of code blocks through its own theme stylesheet.
With the github theme loaded, Highlight.js applies its own padding to the pre
element via the .hljs class. Keeping the original 1.25rem caused double padding,
making code blocks look oversized compared to the rest of the page.1 parent c555a4d commit f34ad00
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments