diff options
author | Sam Rose <sam@gitlab.com> | 2017-03-01 05:59:55 +0300 |
---|---|---|
committer | Sam Rose <sam@gitlab.com> | 2017-03-14 02:25:13 +0300 |
commit | db59e735ae9c30bfa1e9d0800b6edfaaf6981f2a (patch) | |
tree | 2d645047a5a692b49f516feb158d057ef82f344e /app/assets/stylesheets/framework/header.scss | |
parent | cc64eda987d2b1dfc7c0af4255bd09f072301f9c (diff) |
Toggle project name if too long
Diffstat (limited to 'app/assets/stylesheets/framework/header.scss')
-rw-r--r-- | app/assets/stylesheets/framework/header.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss index 5d1aba4e529..6660a022260 100644 --- a/app/assets/stylesheets/framework/header.scss +++ b/app/assets/stylesheets/framework/header.scss @@ -164,11 +164,25 @@ header { } } + .group-name-toggle { + margin: 0 5px; + vertical-align: sub; + } + + .group-title { + &.is-hidden { + .hidable:not(:last-of-type) { + display: none; + } + } + } + .title { position: relative; padding-right: 20px; margin: 0; font-size: 18px; + max-width: 385px; display: inline-block; line-height: $header-height; font-weight: normal; @@ -178,6 +192,14 @@ header { vertical-align: top; white-space: nowrap; + &.initializing { + display: none; + } + + @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { + max-width: 300px; + } + @media (max-width: $screen-xs-max) { max-width: 190px; } |