From 3241bdbfe1f9f0a04238cc3a90c5bab3469c1a21 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 8 Apr 2022 20:31:56 +0300 Subject: [PATCH] autohide_toolbox.css: adjust toolbox margins on hidpi screens --- chrome/autohide_toolbox.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/autohide_toolbox.css b/chrome/autohide_toolbox.css index 8171d80..1fe4719 100644 --- a/chrome/autohide_toolbox.css +++ b/chrome/autohide_toolbox.css @@ -12,7 +12,7 @@ See the above repository for updates as well as full license text. */ } :root[sizemode="maximized"]{ - --uc-toolbox-rotation: 89deg; + --uc-toolbox-rotation: 88.5deg; } /* Dummy variable to support versions 94-96, can be removed when 96 lands */ @@ -28,10 +28,9 @@ See the above repository for updates as well as full license text. */ :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 7px !important; } } @media screen and (min-resolution: 1.5dppx){ - :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 7px !important; } + :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 6px !important; } } @media screen and (min-resolution: 2dppx){ - :root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen]) > body > box{ margin-top: 6px !important; } :root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox{ margin-top: -1px; } } #navigator-toolbox:not(:-moz-lwtheme){ background-color: -moz-dialog !important; }