Commit a4d530f3 authored by Denys Mishunov's avatar Denys Mishunov

Removed internal scrollbar from right sidepanel

Generated a changelog entry
parent 0d89ed92
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
.right-sidebar-collapsed { .right-sidebar-collapsed {
padding-right: 0; padding-right: 0;
width: fit-content;
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
&:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper { &:not(.wiki-sidebar):not(.build-sidebar):not(.issuable-bulk-update-sidebar) .content-wrapper {
...@@ -83,8 +82,16 @@ ...@@ -83,8 +82,16 @@
} }
} }
@mixin sidebar-container {
width: calc(100% + 100px);
}
.right-sidebar { .right-sidebar {
border-left: 1px solid $border-color; border-left: 1px solid $border-color;
.sidebar-container {
@include sidebar-container;
}
} }
.with-performance-bar .right-sidebar.affix { .with-performance-bar .right-sidebar.affix {
......
...@@ -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,7 @@ ...@@ -309,7 +309,7 @@
} }
.issuable-sidebar { .issuable-sidebar {
width: 100%; @include sidebar-container;
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