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 @@
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;
......@@ -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;
}
}
}
......
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