diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-16 22:55:30 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-01-16 22:55:30 +0300 |
commit | 3f581e8d04fc9d1f128c57aebbc2d6791a9e4ccc (patch) | |
tree | f6e46e2f171db1b70af27ccf690ec9b7928a356c /app/assets/stylesheets/framework/sidebar.scss | |
parent | 79373bdc5c025f189f3f17162945765a2617e820 (diff) |
Correctly keeps merge request tabs in place when editting value in
collapsed sidebar
Previously the CSS would presume the sidebar is open, which it is but as
an overlay so the CSS was pushing the tabs when it shouldnt of been
Diffstat (limited to 'app/assets/stylesheets/framework/sidebar.scss')
-rw-r--r-- | app/assets/stylesheets/framework/sidebar.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/sidebar.scss b/app/assets/stylesheets/framework/sidebar.scss index 838f5442fff..f0b03710c79 100644 --- a/app/assets/stylesheets/framework/sidebar.scss +++ b/app/assets/stylesheets/framework/sidebar.scss @@ -236,9 +236,13 @@ header.header-sidebar-pinned { @media (min-width: $screen-md-min) { padding-right: $gutter_width; - .merge-request-tabs-holder.affix { + &:not(.with-overlay) .merge-request-tabs-holder.affix { right: $gutter_width; } + + &.with-overlay .merge-request-tabs-holder.affix { + right: $sidebar_collapsed_width; + } } &.with-overlay { |