summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-08-28 15:14:10 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-08-28 15:14:10 -0500
commit374992dcb71fdc2c1a09334f944b478c92db0c57 (patch)
treea834fa6b2aaf5dd79c7351801ee34547c1ae9df3
parent6f0f65becbbe968bd26a5a3872044d7b8633bf2e (diff)
downloadgitlab-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.scss10
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 {