Skip to content
Snippets Groups Projects
Commit 5cf89e70 authored by Phil Hughes's avatar Phil Hughes
Browse files

Uses white-space instead of setting font size to 0

parent 26055b16
No related branches found
No related tags found
1 merge request!5092Highlight empty lines
Loading
@@ -10,7 +10,7 @@
Loading
@@ -10,7 +10,7 @@
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: $monospace_font; font-family: $monospace_font;
font-size: 0; font-size: $code_font_size;
line-height: $code_line_height !important; line-height: $code_line_height !important;
margin: 0; margin: 0;
overflow: auto; overflow: auto;
Loading
@@ -21,18 +21,16 @@
Loading
@@ -21,18 +21,16 @@
   
code { code {
font-family: $monospace_font; font-family: $monospace_font;
font-size: 0; white-space: normal;
white-space: pre;
word-wrap: normal; word-wrap: normal;
padding: 0; padding: 0;
   
.line { .line {
display: inline-block; display: block;
width: 100%; width: 100%;
min-height: 19px; min-height: 19px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
font-size: $code_font_size;
} }
} }
} }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment