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,8 +13,8 @@ See the above repository for updates as well as full license text. */
pointer-events: none
}
:root:not([customizing]) #navigator-toolbox:hover,
:root:not([customizing]) #titlebar{
:root:not([customizing],[chromehidden~="menubar"]) #navigator-toolbox:hover,
:root:not([customizing],[chromehidden~="menubar"]) #titlebar{
margin-bottom: calc(0px - 2 * var(--tab-block-margin) - var(--tab-min-height));
}
#TabsToolbar:not([customizing]){ visibility: hidden; transition: visibility 0ms linear 200ms }