Don't modify #browser margins when chromehidden attr is set

chromehidden attribute to various values for windows where various
toolbar are disabled, such as popups etc.
This commit is contained in:
MrOtherGuy
2023-11-23 17:46:05 +02:00
parent fd88af0e85
commit f42c760474
4 changed files with 12 additions and 5 deletions

View File

@@ -50,4 +50,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 }
/* Move up the content view */
:root[sessionrestored]:not([inFullscreen]) > body > #browser{ margin-top: var(--uc-navbar-transform); }
:root[sessionrestored]:not([inFullscreen],[chromehidden~="toolbar"]) > body > #browser{ margin-top: var(--uc-navbar-transform); }