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:
parent
52bfa30bac
commit
5ac5932320
1 changed files with 6 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue