Commit db949b69 authored by Drew Blessing's avatar Drew Blessing

Issue 3941: Code preview dark doesn't display correctly with long lines

Assigning the background color to the pre tag did not work correctly. Moved background color to the highlight class which fixes the problem.
parent a0ab5e43
.black .highlight { .black .highlight {
background-color: #333;
pre { pre {
background-color: #333;
color: #eee; color: #eee;
} }
......
...@@ -8,8 +8,10 @@ $monokai-dark: #3b3a32; ...@@ -8,8 +8,10 @@ $monokai-dark: #3b3a32;
$monokai-purple: #ae81ff; $monokai-purple: #ae81ff;
.monokai .highlight { .monokai .highlight {
background-color: #272822;
pre { pre {
background-color: #272822;
color: $monokai-fg; color: $monokai-fg;
} }
......
.solarized-dark .highlight { .solarized-dark .highlight {
background-color: #002B36;
pre { pre {
background-color: #002B36;
color: #eee; color: #eee;
} }
......
.white .highlight { .white .highlight {
background-color: #fff;
pre { pre {
background-color: #fff;
color: #333; color: #333;
} }
......
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