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 @@
.right-sidebar {
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 {
......@@ -129,7 +135,6 @@
.issuable-sidebar {
padding: 0 3px;
width: calc(100% + 35px);
}
}
......
......@@ -176,7 +176,6 @@
}
.sidebar-container {
width: calc(100% + 100px);
padding-right: 100px;
height: 100%;
overflow-y: scroll;
......
......@@ -309,7 +309,6 @@
}
.issuable-sidebar {
width: 100%;
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
......
......@@ -80,7 +80,6 @@
.sidebar-container {
padding: $gl-padding 0;
width: calc(100% + 100px);
padding-right: 100px;
height: 100%;
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