From c73fe29e5e58fcd1bb1dfe52b08a4423e8f08d3a Mon Sep 17 00:00:00 2001 From: Thibaud Lepretre Date: Sun, 14 Jul 2019 08:03:10 +0200 Subject: Add missing class without language- prefix ```html
```` must become ```html
``` In addition fix padding to get the same pixel alignment for gutter and sourcecode --- src/scss/components/_code.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/scss/components/_code.scss b/src/scss/components/_code.scss index 265ba03..9a2c2e5 100755 --- a/src/scss/components/_code.scss +++ b/src/scss/components/_code.scss @@ -50,7 +50,7 @@ figure.highlight, // Gutter which contains line numbers .gutter { border-right: map-get($highlight, border); - padding: 0.3em 15px; + padding: 0.3rem 15px; line-height: map-get($highlight, line-height); font-size: map-get($highlight, font-size); @@ -60,7 +60,7 @@ figure.highlight, } // Code container .code { - padding: 0.3em 15px 0.3em 1em; + padding: 0.3rem 15px 0.3rem 1em; width: 100%; pre { @@ -112,4 +112,4 @@ figure.highlight, font-size: 1em; margin: 0 0 5px 0; } -} \ No newline at end of file +} -- cgit v1.2.3