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