Commit 5cf89e70 authored by Phil Hughes's avatar Phil Hughes

Uses white-space instead of setting font size to 0

parent 26055b16
...@@ -10,7 +10,7 @@ ...@@ -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;
...@@ -21,18 +21,16 @@ ...@@ -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;
} }
} }
} }
......
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