summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight/dark.scss
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@buckle.com>2013-05-14 13:44:16 -0500
committerDrew Blessing <drew.blessing@buckle.com>2013-05-14 13:44:16 -0500
commitdb949b69c14b38cd75185195bb5381473d21d280 (patch)
treebffdb7ff0c09e2da176b537eeed408eb61ca9326 /app/assets/stylesheets/highlight/dark.scss
parenta0ab5e432627b3e357d495192fd37ec2754e9b3e (diff)
downloadgitlab-ce-db949b69c14b38cd75185195bb5381473d21d280.tar.gz
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.
Diffstat (limited to 'app/assets/stylesheets/highlight/dark.scss')
-rw-r--r--app/assets/stylesheets/highlight/dark.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index 4196ea7ad29..02c5d72621c 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -1,6 +1,8 @@
.black .highlight {
+
+ background-color: #333;
+
pre {
- background-color: #333;
color: #eee;
}