From 2d3e50ae7ca29994d11412a7a36626e772bd74f5 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 9 Jan 2019 17:36:51 +0000 Subject: [PATCH] FIX: Match default `` padding to highlightjs padding Without this, the height of posts changes once highlightjs is lazy-loaded, potentially causing scrolling issues --- app/assets/stylesheets/common/base/topic-post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index bb27732d2da..77298b6341f 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -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;