summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-09-12 14:44:16 +0100
committerPhil Hughes <me@iamphill.com>2016-09-12 14:44:16 +0100
commita027740fed115a2173d4de3fc40a32a1b2fd796e (patch)
tree7b885e545cf4315a3d7b05c715904f8f06667762 /app/assets/stylesheets/pages
parent45afdbef0de58f6de207b057e47151611d2ad7e6 (diff)
downloadgitlab-ce-diff-table-width-fix.tar.gz
Fixed large comments messing with diff table widthsdiff-table-width-fix
Closes #20694
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r--app/assets/stylesheets/pages/diff.scss9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index 21cee2e3a70..b8ef76cc74e 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -68,6 +68,11 @@
border-collapse: separate;
margin: 0;
padding: 0;
+ table-layout: fixed;
+
+ .diff-line-num {
+ width: 50px;
+ }
.line_holder td {
line-height: $code_line_height;
@@ -98,10 +103,6 @@
}
tr.line_holder.parallel {
- .old_line, .new_line {
- min-width: 50px;
- }
-
td.line_content.parallel {
width: 46%;
}