Commit 41bc9d6a authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '196226-rightsidebar-collapsed-always-on-scrollbar' into 'master'

Resolve "MR right sidebar is off when scrollbars are visible"

Closes #196226

See merge request gitlab-org/gitlab!27314
parents 05d3494b c8f9c8dc
...@@ -84,6 +84,12 @@ ...@@ -84,6 +84,12 @@
.right-sidebar { .right-sidebar {
border-left: 1px solid $border-color; border-left: 1px solid $border-color;
.sidebar-container,
.issuable-sidebar {
// Add 100px so that potentially visible vertical scroll bar is hidden
width: calc(100% + 100px);
}
} }
.with-performance-bar .right-sidebar.affix { .with-performance-bar .right-sidebar.affix {
...@@ -129,7 +135,6 @@ ...@@ -129,7 +135,6 @@
.issuable-sidebar { .issuable-sidebar {
padding: 0 3px; padding: 0 3px;
width: calc(100% + 35px);
} }
} }
......
...@@ -176,7 +176,6 @@ ...@@ -176,7 +176,6 @@
} }
.sidebar-container { .sidebar-container {
width: calc(100% + 100px);
padding-right: 100px; padding-right: 100px;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
......
...@@ -309,7 +309,6 @@ ...@@ -309,7 +309,6 @@
} }
.issuable-sidebar { .issuable-sidebar {
width: 100%;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
......
...@@ -80,7 +80,6 @@ ...@@ -80,7 +80,6 @@
.sidebar-container { .sidebar-container {
padding: $gl-padding 0; padding: $gl-padding 0;
width: calc(100% + 100px);
padding-right: 100px; padding-right: 100px;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
......
---
title: Fix right sidebar when scrollbars are always visible
merge_request: 27314
author: Shawn @CasualBot
type: fixed
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