diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-09-28 15:50:02 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-09-29 10:23:30 +0100 |
commit | b2b5d480dae90ef5c24f05778578e86fa0b8ac53 (patch) | |
tree | 5dfe3c064b79f240fcf223975a164972c4da0635 | |
parent | dbfcccaf7754d4501dc253b4409fc9f026248e67 (diff) | |
download | gitlab-ce-b2b5d480dae90ef5c24f05778578e86fa0b8ac53.tar.gz |
Fixes long commit messages overflow viewport in file tree
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index da436431c7f..5ce0fc5058c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -26,6 +26,7 @@ v 8.12.2 (unreleased) - Fix errors importing project feature and milestone models using GitLab project import - Make JWT messages Docker-compatible - Fix duplicate branch entry in the merge request version compare dropdown + - Fix Long commit messages overflow viewport in file tree v 8.12.1 - Fix a memory leak in HTML::Pipeline::SanitizationFilter::WHITELIST diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index 7b6577c513e..41ad10f07bd 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -27,7 +27,12 @@ } .last-commit { - @include str-truncated(60%); + @include str-truncated(506px); + + @media (min-width: $screen-sm-max) and (max-width: $screen-md-max) { + @include str-truncated(450px); + } + } .commit-history-link-spacer { |