diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2018-01-04 12:54:34 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2018-01-09 16:51:53 -0600 |
commit | 1faaf6ffbc7ccf8dd12245a7003de9d91088d11c (patch) | |
tree | 554b792bfedd98040a5023f8ccf2b65ae02e301a /app/assets/stylesheets/pages | |
parent | 65b04860c24949f8c327db0be9fc967dfe8225b5 (diff) | |
download | gitlab-ce-1faaf6ffbc7ccf8dd12245a7003de9d91088d11c.tar.gz |
Fix 500 when visiting a commit where blobs do not exist (nil blobs)41491-fix-nil-blob-name-error
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/41491
Diffstat (limited to 'app/assets/stylesheets/pages')
-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; } |