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:
David Taylor 2019-01-09 17:36:51 +00:00
parent 286cc72c8b
commit 2d3e50ae7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;