Commit 4102389d authored by Harry Kiselev's avatar Harry Kiselev Committed by Annabel Dunstone Gray

Fix horizontal scrollbar overlapping content everywhere, #51296.

parent ee1d23fa
...@@ -243,6 +243,7 @@ $gl-padding-top: 10px; ...@@ -243,6 +243,7 @@ $gl-padding-top: 10px;
$gl-sidebar-padding: 22px; $gl-sidebar-padding: 22px;
$gl-bar-padding: 3px; $gl-bar-padding: 3px;
$input-horizontal-padding: 12px; $input-horizontal-padding: 12px;
$browserScrollbarSize: 10px;
/* /*
* Misc * Misc
......
...@@ -723,7 +723,8 @@ ...@@ -723,7 +723,8 @@
.scrolling-tabs-container { .scrolling-tabs-container {
.scrolling-tabs { .scrolling-tabs {
margin-top: $gl-padding-8; margin-top: $gl-padding-8;
margin-bottom: $gl-padding-8; margin-bottom: $gl-padding-8 - $browserScrollbarSize;
padding-bottom: $browserScrollbarSize;
flex-wrap: wrap; flex-wrap: wrap;
border-bottom: 0; border-bottom: 0;
} }
...@@ -731,7 +732,7 @@ ...@@ -731,7 +732,7 @@
.fade-left, .fade-left,
.fade-right { .fade-right {
top: 0; top: 0;
height: 100%; height: calc(100% - #{$browserScrollbarSize});
.fa { .fa {
top: 50%; top: 50%;
......
---
title: Fix horizontal scrollbar overlapping on horizontal scrolling-tabs
merge_request: 23167
author: Harry Kiselev
type: other
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