Fix horizontal scrollbar overlapping content everywhere, #51296.
This commit is contained in:
parent
ee1d23fa23
commit
4102389d12
3 changed files with 9 additions and 2 deletions
|
@ -243,6 +243,7 @@ $gl-padding-top: 10px;
|
|||
$gl-sidebar-padding: 22px;
|
||||
$gl-bar-padding: 3px;
|
||||
$input-horizontal-padding: 12px;
|
||||
$browserScrollbarSize: 10px;
|
||||
|
||||
/*
|
||||
* Misc
|
||||
|
|
|
@ -723,7 +723,8 @@
|
|||
.scrolling-tabs-container {
|
||||
.scrolling-tabs {
|
||||
margin-top: $gl-padding-8;
|
||||
margin-bottom: $gl-padding-8;
|
||||
margin-bottom: $gl-padding-8 - $browserScrollbarSize;
|
||||
padding-bottom: $browserScrollbarSize;
|
||||
flex-wrap: wrap;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
@ -731,7 +732,7 @@
|
|||
.fade-left,
|
||||
.fade-right {
|
||||
top: 0;
|
||||
height: 100%;
|
||||
height: calc(100% - #{$browserScrollbarSize});
|
||||
|
||||
.fa {
|
||||
top: 50%;
|
||||
|
|
5
changelogs/unreleased/non-webkit-scrollbar-fixing.yml
Normal file
5
changelogs/unreleased/non-webkit-scrollbar-fixing.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix horizontal scrollbar overlapping on horizontal scrolling-tabs
|
||||
merge_request: 23167
|
||||
author: Harry Kiselev
|
||||
type: other
|
Loading…
Reference in a new issue