summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/diff.scss
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-11 13:00:55 +0100
committerPhil Hughes <me@iamphill.com>2017-09-13 14:29:52 +0100
commiteed4439e2006a8738b7dbf11a96dd709eaf423eb (patch)
treead5f409ed8561012c1e967eba36889860e05a64f /app/assets/stylesheets/pages/diff.scss
parent7bd66b7612dde47a85ca19d478fdd32810eb55de (diff)
downloadgitlab-ce-changes-overflow-fix.tar.gz
Fixed overflow issue in changes dropdownchanges-overflow-fix
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index 54c3c0173ae..951580ea1fe 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -634,8 +634,16 @@
padding-top: 8px;
padding-bottom: 8px;
}
+
+ .diff-changed-file {
+ display: flex;
+ align-items: center;
+ }
}
.diff-file-changes-path {
- @include str-truncated(78%);
+ flex: 1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}