Better sidebar scrollbar spacing

With the sidebar tabs overlapping the main content there needs to be a gap between the sidebar and the tabs for the scrollbar. The most elegant solution would be to only open up this gap when a scrollbar is visible. But the tabs are part of the sidebar and thus life in a different controller. For now a cleaner solution that to force a scrollbar is to show an empty scrollbar.
This commit is contained in:
Felix Niklas 2018-07-27 18:08:38 +02:00
parent 52bfa30bac
commit 5ac5932320

View file

@ -4728,11 +4728,6 @@ footer {
.ticketZoom { .ticketZoom {
background: #f8f9fa; background: #f8f9fa;
/*
force ticket zoom to show scrollbars
because we offset the tabs bar when the os shows scrollbars
*/
min-height: 101%;
} }
.ticketZoom-controls { .ticketZoom-controls {
@ -5545,6 +5540,12 @@ footer {
.tabsSidebar-tabsSpacer { .tabsSidebar-tabsSpacer {
@include bidi-style(padding-right, 62px !important, padding-left, 0); @include bidi-style(padding-right, 62px !important, padding-left, 0);
/*
force div to show scrollbars
because we offset the sidebar tabs when the os shows scrollbars
*/
overflow-x: hidden;
overflow-y: scroll;
} }
.tabsSidebar-sidebarSpacer { .tabsSidebar-sidebarSpacer {