Commit 1b42447e authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch...

Merge branch '63010-visual-regression-in-12-0-line-numbers-not-lining-up-in-file-view' into 'master'

Resolve "Visual regression in 12.0: line numbers not lining up in file view"

Closes #63010

See merge request gitlab-org/gitlab-ce!29403
parents d78a4465 72010ed6
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
border-radius: 0 0 $border-radius-default $border-radius-default; border-radius: 0 0 $border-radius-default $border-radius-default;
font-family: $monospace-font; font-family: $monospace-font;
font-size: $code-font-size; font-size: $code-font-size;
line-height: 19px; line-height: 1.5;
margin: 0; margin: 0;
overflow: auto; overflow: auto;
overflow-y: hidden; overflow-y: hidden;
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
.line { .line {
display: block; display: block;
width: 100%; width: 100%;
min-height: 19px; min-height: 1.5em;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
white-space: pre; white-space: pre;
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
font-family: $monospace-font; font-family: $monospace-font;
display: block; display: block;
font-size: $code-font-size !important; font-size: $code-font-size !important;
min-height: 19px; min-height: 1.5em;
white-space: nowrap; white-space: nowrap;
i { i {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment