Commit db949b69 authored by Drew Blessing's avatar Drew Blessing
Browse files

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 5d7d0880a70a
.black .highlight {
background-color: #333;
pre {
background-color: #333;
color: #eee;
}
......
......@@ -8,8 +8,10 @@ $monokai-dark: #3b3a32;
$monokai-purple: #ae81ff;
.monokai .highlight {
background-color: #272822;
pre {
background-color: #272822;
color: $monokai-fg;
}
......
.solarized-dark .highlight {
background-color: #002B36;
pre {
background-color: #002B36;
color: #eee;
}
......
.white .highlight {
background-color: #fff;
pre {
background-color: #fff;
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