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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'content/assets/stylesheets/highlight.scss')
-rw-r--r--content/assets/stylesheets/highlight.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/assets/stylesheets/highlight.scss b/content/assets/stylesheets/highlight.scss
index ec916705..ad7deb9a 100644
--- a/content/assets/stylesheets/highlight.scss
+++ b/content/assets/stylesheets/highlight.scss
@@ -8,16 +8,18 @@ pre.highlight {
border: 1px solid rgba(0, 0, 0, 0.15);
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
border-radius: 3px;
- overflow-x: auto;
+ overflow-x: hidden;
margin: 20px 0;
background: #2b303b;
color: #eff1f5;
// Code itself
code {
+ display: block;
border-color: transparent;
color: inherit;
background-color: transparent;
+ overflow-x: scroll;
}
.hll { background-color: #4f5b66 }