summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-09-28 15:50:02 +0100
committerFatih Acet <acetfatih@gmail.com>2016-09-29 17:40:06 +0300
commitcf5a55429df3405b606584b39e4fd97342a37e14 (patch)
tree99f0b9180bdebe77c55fe77b490cfadadc91c70a /app/assets/stylesheets/pages
parentc8e2d67483ed360791990e2d1626ab26fe8950b0 (diff)
downloadgitlab-ce-cf5a55429df3405b606584b39e4fd97342a37e14.tar.gz
Fixes long commit messages overflow viewport in file tree
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r--app/assets/stylesheets/pages/tree.scss7
1 files changed, 6 insertions, 1 deletions
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 {