mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -548,7 +548,7 @@ pre {
|
||||
code {
|
||||
word-wrap: normal;
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
padding: 0.5em;
|
||||
color: $primary;
|
||||
background: blend-primary-secondary(5%);
|
||||
max-height: 500px;
|
||||
|
||||
Reference in New Issue
Block a user