diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-09-28 17:50:02 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-09-29 17:40:06 +0300 |
commit | cf5a55429df3405b606584b39e4fd97342a37e14 (patch) | |
tree | 99f0b9180bdebe77c55fe77b490cfadadc91c70a /app/assets/stylesheets/pages/tree.scss | |
parent | c8e2d67483ed360791990e2d1626ab26fe8950b0 (diff) |
Fixes long commit messages overflow viewport in file tree
Diffstat (limited to 'app/assets/stylesheets/pages/tree.scss')
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 7 |
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 { |