From ccddba242416af3fa9a0c9f55091590188024233 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 3 Jun 2021 10:30:38 +0300 Subject: [PATCH] apply z-index to tabs, not titlebar and remove browser margin in fullscren --- chrome/autohide_main_toolbar.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/autohide_main_toolbar.css b/chrome/autohide_main_toolbar.css index 56c6f7b..ca2f3c2 100644 --- a/chrome/autohide_main_toolbar.css +++ b/chrome/autohide_main_toolbar.css @@ -22,7 +22,7 @@ See the above repository for updates as well as full license text. */ position: relative; z-index: 2; } -#titlebar{ position: relative; z-index: 3 } +#TabsToolbar{ position: relative; z-index: 3 } #navigator-toolbox:focus-within > .browser-toolbar, #titlebar:hover ~ .browser-toolbar, #nav-bar:hover, @@ -34,4 +34,4 @@ See the above repository for updates as well as full license text. */ } #PersonalToolbar{ transition: transform 400ms ease 1.8s !important; position: relative; z-index: 1 } -:root[sessionrestored] > body > #browser{ margin-top: var(--uc-navbar-transform); } \ No newline at end of file +:root[sessionrestored]:not([inFullscreen]) > body > #browser{ margin-top: var(--uc-navbar-transform); } \ No newline at end of file