Skip to content

Commit 0543873

Browse files
committed
scale padding on pre/code block with font size
1 parent 4490b0c commit 0543873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/css/doc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@
755755
box-shadow: inset 0 0 1.75px var(--pre-border-color);
756756
display: block;
757757
overflow-x: auto;
758-
padding: 0.75rem;
758+
padding: 0.75em;
759759
}
760760

761761
/* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */

0 commit comments

Comments
 (0)