apply window margin to body > box instead of :root

This commit is contained in:
MrOtherGuy 2020-05-11 16:01:54 +03:00
parent cba88c0439
commit 2062bd2c4b

View file

@ -3,18 +3,18 @@
@media (-moz-os-version: windows-win10){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px !important; }
:root[sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 10px !important; }
:root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
@media screen and (min-resolution: 1.25dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 9px !important; }
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 9px !important; }
}
@media screen and (min-resolution: 1.5dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
:root[sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 8px !important; }
:root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
}
@media screen and (min-resolution: 2dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 7px !important; }
}
}