Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-19 21:19:22 +0300
committerPhil Hughes <me@iamphill.com>2016-07-20 10:42:59 +0300
commitcf33acb32b12cf482e0279043e8cd02131c456e6 (patch)
treea7408f586ca842acebe0d7ee73dd109cc39972ed /app/assets/stylesheets/framework/highlight.scss
parent5cf89e70b70de008d5b91e89ce015522616e96cb (diff)
Fixed wrapping of lines on smaller viewports
Diffstat (limited to 'app/assets/stylesheets/framework/highlight.scss')
-rw-r--r--app/assets/stylesheets/framework/highlight.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss
index 11b2a4cbf89..07c8874bf03 100644
--- a/app/assets/stylesheets/framework/highlight.scss
+++ b/app/assets/stylesheets/framework/highlight.scss
@@ -20,6 +20,8 @@
border-left: 1px solid;
code {
+ display: inline-block;
+ min-width: 100%;
font-family: $monospace_font;
white-space: normal;
word-wrap: normal;
@@ -31,6 +33,7 @@
min-height: 19px;
padding-left: 10px;
padding-right: 10px;
+ white-space: pre;
}
}
}