diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-10 19:24:24 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-10 19:24:24 +0000 |
commit | ab28ea071ba7f70e59e8aeba9da03031dd83b0f1 (patch) | |
tree | 577a9044d8c73a1f667c05c6d7a2e9b0ddf4aa17 /app/assets | |
parent | 4fc0a0901791cd385e38fb437d167e65847fb015 (diff) | |
parent | 1faaf6ffbc7ccf8dd12245a7003de9d91088d11c (diff) | |
download | gitlab-ce-ab28ea071ba7f70e59e8aeba9da03031dd83b0f1.tar.gz |
Merge branch '41491-fix-nil-blob-name-error' into 'master'
Fix 500 error when visiting a commit where the blobs do not exist (nil blobs)
Closes #41491
See merge request gitlab-org/gitlab-ce!16237
Diffstat (limited to 'app/assets')
-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; } |