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
Loading
@@ -10,7 +10,7 @@
border: none;
border-radius: 0;
font-family: $monospace_font;
font-size: 0;
font-size: $code_font_size;
line-height: $code_line_height !important;
margin: 0;
overflow: auto;
Loading
Loading
@@ -21,18 +21,16 @@
 
code {
font-family: $monospace_font;
font-size: 0;
white-space: pre;
white-space: normal;
word-wrap: normal;
padding: 0;
 
.line {
display: inline-block;
display: block;
width: 100%;
min-height: 19px;
padding-left: 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.
Please register or to comment