diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-08-28 15:14:10 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-08-28 15:14:10 -0500 |
commit | 374992dcb71fdc2c1a09334f944b478c92db0c57 (patch) | |
tree | a834fa6b2aaf5dd79c7351801ee34547c1ae9df3 | |
parent | 6f0f65becbbe968bd26a5a3872044d7b8633bf2e (diff) | |
download | gitlab-ce-37144-right-sidebar-jump.tar.gz |
Override absolute right sidebar when nav is collapsed37144-right-sidebar-jump
-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 { |