autohide sidebar: always apply larger z-index
Patch from bug 1921811 changes things such that the browser-area-z-index-sidebar is only used when revamped sidebar is used. So lets shuffle things around a bit and use that always. Fixes #431
This commit is contained in:
@@ -10,14 +10,12 @@ See the above repository for updates as well as full license text. */
|
||||
--uc-autohide-sidebar-delay: 600ms; /* Wait 0.6s before hiding sidebar */
|
||||
--uc-autohide-transition-duration: 115ms;
|
||||
--uc-autohide-transition-type: linear;
|
||||
--browser-area-z-index-sidebar: 3;
|
||||
position: relative;
|
||||
min-width: var(--uc-sidebar-width) !important;
|
||||
width: var(--uc-sidebar-width) !important;
|
||||
max-width: var(--uc-sidebar-width) !important;
|
||||
z-index:1;
|
||||
}
|
||||
#sidebar-box{
|
||||
--browser-area-z-index-sidebar: 3;
|
||||
z-index: var(--browser-area-z-index-sidebar,3);
|
||||
}
|
||||
#sidebar-box[positionend]{ direction: rtl }
|
||||
#sidebar-box[positionend] > *{ direction: ltr }
|
||||
|
||||
Reference in New Issue
Block a user