fix(scss): Fix code block padding with codeFences = false (#297)

This commit is contained in:
Egor Lynko 2020-09-10 19:15:40 +03:00 committed by GitHub
parent 708de67fd6
commit 513c19a0fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@ code {
color: $code-color; color: $code-color;
} }
pre > code {
display: block;
}
// highlight.js // highlight.js
figure.highlight { figure.highlight {
margin: 1em 0; margin: 1em 0;
@ -129,11 +133,11 @@ figure.highlight {
.hljs-formula { .hljs-formula {
background: map-get($code-highlight-color, formula); background: map-get($code-highlight-color, formula);
} }
.hljs-emphasis { .hljs-emphasis {
font-style: italic; font-style: italic;
} }
.hljs-strong { .hljs-strong {
font-weight: bold; font-weight: bold;
} }