diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-01-04 21:54:34 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-01-10 01:51:53 +0300 |
commit | 1faaf6ffbc7ccf8dd12245a7003de9d91088d11c (patch) | |
tree | 554b792bfedd98040a5023f8ccf2b65ae02e301a /app/assets/stylesheets | |
parent | 65b04860c24949f8c327db0be9fc967dfe8225b5 (diff) |
Fix 500 when visiting a commit where blobs do not exist (nil blobs)
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/41491
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/diff.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss index 1d081b58f62..7f037582ca0 100644 --- a/app/assets/stylesheets/pages/diff.scss +++ b/app/assets/stylesheets/pages/diff.scss @@ -651,12 +651,18 @@ min-width: 0; } - .diff-changed-file-name { + .diff-changed-file-name, + .diff-changed-blank-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .diff-changed-blank-file-name { + color: $gl-text-color-tertiary; + font-style: italic; + } + .diff-changed-file-path { color: $gl-text-color-tertiary; } |