Commit 3f581e8d authored by Phil Hughes's avatar Phil Hughes

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
parent 79373bdc
...@@ -236,9 +236,13 @@ header.header-sidebar-pinned { ...@@ -236,9 +236,13 @@ header.header-sidebar-pinned {
@media (min-width: $screen-md-min) { @media (min-width: $screen-md-min) {
padding-right: $gutter_width; padding-right: $gutter_width;
.merge-request-tabs-holder.affix { &:not(.with-overlay) .merge-request-tabs-holder.affix {
right: $gutter_width; right: $gutter_width;
} }
&.with-overlay .merge-request-tabs-holder.affix {
right: $sidebar_collapsed_width;
}
} }
&.with-overlay { &.with-overlay {
......
---
title: Fixed merge request tabs dont move when opening collapsed sidebar
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment