From 7aa7dad4a1bd839a5eecdbe892c7d81a5e5ab357 Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Thu, 22 Sep 2016 15:09:54 -0600 Subject: Fix line numbers not matching up with code in Firefox. --- app/assets/stylesheets/framework/highlight.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss index 07c8874bf03..909a0f4afda 100644 --- a/app/assets/stylesheets/framework/highlight.scss +++ b/app/assets/stylesheets/framework/highlight.scss @@ -11,7 +11,7 @@ border-radius: 0; font-family: $monospace_font; font-size: $code_font_size; - line-height: $code_line_height !important; + line-height: 19px; margin: 0; overflow: auto; overflow-y: hidden; @@ -47,7 +47,7 @@ font-family: $monospace_font; display: block; font-size: $code_font_size !important; - line-height: $code_line_height !important; + line-height: 19px; white-space: nowrap; i { -- cgit v1.2.1