summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/diff.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-04-06 13:20:13 -0700
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-04-06 13:20:58 -0700
commitdcdf0b2af2514f9f6778fd16cbcb77929a0bd708 (patch)
treea94eedfa9dba84dd0785eb155cf924c09cd512f6 /app/assets/stylesheets/pages/diff.scss
parentebb91c7f0428ade28d78bcec4c02b60258cdab68 (diff)
downloadgitlab-ce-14866-url-overflow.tar.gz
Horizontally scroll code blocks instead of wrapping14866-url-overflow
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index f1368d74b3b..7a12aa96476 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -59,10 +59,15 @@
border-collapse: separate;
margin: 0;
padding: 0;
+
.line_holder td {
line-height: $code_line_height;
font-size: $code_font_size;
}
+
+ td {
+ white-space: nowrap;
+ }
}
tr.line_holder.parallel {