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

@@ -13,6 +13,13 @@ See the above repository for updates as well as full license text. */
}
:root[uidensity="touch"] #navigator-toolbox{ --uc-bm-padding: 6px }
:root[chromehidden~="directories"] #navigator-toolbox{
--uc-bm-height: 0px;
}
:root[chromehidden~="toolbar"] #navigator-toolbox{
--uc-navbar-height: 0px;
}
:root[sessionrestored] #nav-bar,
:root[sessionrestored] #PersonalToolbar{
background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)), var(--lwt-additional-images,var(--toolbar-bgimage)) !important;