FIX: Match default `<code>` padding to highlightjs padding
Without this, the height of posts changes once highlightjs is lazy-loaded, potentially causing scrolling issues
This commit is contained in:
parent
286cc72c8b
commit
2d3e50ae7c
|
@ -548,7 +548,7 @@ pre {
|
||||||
code {
|
code {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 5px 10px;
|
padding: 0.5em;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
background: blend-primary-secondary(5%);
|
background: blend-primary-secondary(5%);
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
|
|
Loading…
Reference in New Issue