diff options
author | Simon Knox <simon@gitlab.com> | 2019-06-10 05:00:43 +0000 |
---|---|---|
committer | Simon Knox <simon@gitlab.com> | 2019-06-10 05:00:43 +0000 |
commit | 72010ed6fe314d3da806150fd09aeec829ef00ab (patch) | |
tree | 4eb0dfd1477ae008ef4d5041503ab9e77ae2f3c7 /app | |
parent | 1f8eeb0b3e8fe16cd85bc6ebe900361b4c72872e (diff) | |
download | gitlab-ce-72010ed6fe314d3da806150fd09aeec829ef00ab.tar.gz |
Align line numbers for non-default font size63010-visual-regression-in-12-0-line-numbers-not-lining-up-in-file-view
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/highlight.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss index 741f92110c3..983bd032da4 100644 --- a/app/assets/stylesheets/framework/highlight.scss +++ b/app/assets/stylesheets/framework/highlight.scss @@ -11,7 +11,7 @@ border-radius: 0 0 $border-radius-default $border-radius-default; font-family: $monospace-font; font-size: $code-font-size; - line-height: 19px; + line-height: 1.5; margin: 0; overflow: auto; overflow-y: hidden; @@ -30,7 +30,7 @@ .line { display: block; width: 100%; - min-height: 19px; + min-height: 1.5em; padding-left: 10px; padding-right: 10px; white-space: pre; @@ -48,7 +48,7 @@ font-family: $monospace-font; display: block; font-size: $code-font-size !important; - min-height: 19px; + min-height: 1.5em; white-space: nowrap; i { |