mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 11:36:09 +10:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
.white .highlight {
|
||||
|
||||
background-color: #fff;
|
||||
|
||||
pre {
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user