diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-29 00:35:01 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-06 01:05:45 +0300 |
commit | 6d61b4046b976400bb242f85034c06f69acbff51 (patch) | |
tree | a519885d19bd1e80574fd5a6441e90546dfea538 /app/assets/stylesheets/pages/detail_page.scss | |
parent | ca95ee6264325efdd62890c320f8dd4b40657432 (diff) |
Generalize detail page headers
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40543
Bug introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15192
Diffstat (limited to 'app/assets/stylesheets/pages/detail_page.scss')
-rw-r--r-- | app/assets/stylesheets/pages/detail_page.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/detail_page.scss b/app/assets/stylesheets/pages/detail_page.scss index 538e50ee306..52e4d904b9b 100644 --- a/app/assets/stylesheets/pages/detail_page.scss +++ b/app/assets/stylesheets/pages/detail_page.scss @@ -13,6 +13,41 @@ .author_link { white-space: nowrap; } + + @media (max-width: $screen-xs-max) { + display: block; + } +} + +.detail-page-header-body { + position: relative; + line-height: 35px; + display: flex; + flex-grow: 1; + + @media (min-width: $screen-sm-min) { + padding-left: 0; + padding-right: 0; + } +} + +.detail-page-header-actions { + @include new-style-dropdown; + + align-self: center; + flex-shrink: 0; + flex: 0 0 auto; + + @media (max-width: $screen-xs-max) { + width: 100%; + margin-top: 10px; + + > .issue-btn-group { + > .btn { + width: 100%; + } + } + } } .detail-page-description { |