summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-09-28 15:50:02 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-09-29 10:23:30 +0100
commitb2b5d480dae90ef5c24f05778578e86fa0b8ac53 (patch)
tree5dfe3c064b79f240fcf223975a164972c4da0635
parentdbfcccaf7754d4501dc253b4409fc9f026248e67 (diff)
downloadgitlab-ce-b2b5d480dae90ef5c24f05778578e86fa0b8ac53.tar.gz
Fixes long commit messages overflow viewport in file tree
-rw-r--r--CHANGELOG1
-rw-r--r--app/assets/stylesheets/pages/tree.scss7
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 {