diff options
-rw-r--r-- | app/assets/stylesheets/new_sidebar.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss index f624b130e19..ac65ac0e677 100644 --- a/app/assets/stylesheets/new_sidebar.scss +++ b/app/assets/stylesheets/new_sidebar.scss @@ -26,7 +26,8 @@ $new-sidebar-collapsed-width: 50px; // Override position: absolute .right-sidebar { position: fixed; - height: calc(100% - #{$header-height}); + top: $header-height; + bottom: 0; } .issues-bulk-update.right-sidebar.right-sidebar-expanded .issuable-sidebar-header { @@ -38,6 +39,13 @@ $new-sidebar-collapsed-width: 50px; @media (min-width: $screen-sm-min) { padding-left: $new-sidebar-collapsed-width; } + + // Override position: absolute + .right-sidebar { + position: fixed; + top: $header-height; + bottom: 0; + } } .context-header { |