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.
This commit is contained in:
Drew Blessing
2013-05-14 13:44:16 -05:00
parent a0ab5e4326
commit db949b69c1
4 changed files with 12 additions and 4 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
.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;
}
@@ -1,6 +1,8 @@
.solarized-dark .highlight {
background-color: #002B36;
pre {
background-color: #002B36;
color: #eee;
}
+3 -1
View File
@@ -1,6 +1,8 @@
.white .highlight {
background-color: #fff;
pre {
background-color: #fff;
color: #333;
}