mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 14:39:44 +00:00
fix(scss): Fix code block padding with codeFences = false
(#297)
This commit is contained in:
parent
708de67fd6
commit
513c19a0fe
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue