From d7522263d6d2cb6ea09581bb66dfcc4f33b86746 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 6 May 2020 16:26:32 +0300 Subject: [PATCH] Make extra maximized padding windows only --- chrome/hide_tabs_with_one_tab.css | 5 +++-- chrome/hide_tabs_with_one_tab_w_window_controls.css | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index a4a6b0f..9f9ccf8 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -36,8 +36,9 @@ background-color: transparent !important; } /* Extra top padding in maximized window */ -:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; } - +@media (-moz-os-version: windows-win10){ + :root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; } +} /* Fix window controls not being clickable */ :root[tabsintitlebar] #toolbar-menubar[autohide="true"][inactive]{ transition: height 0ms steps(1) 80ms; diff --git a/chrome/hide_tabs_with_one_tab_w_window_controls.css b/chrome/hide_tabs_with_one_tab_w_window_controls.css index 832a5e8..9b3d407 100644 --- a/chrome/hide_tabs_with_one_tab_w_window_controls.css +++ b/chrome/hide_tabs_with_one_tab_w_window_controls.css @@ -41,8 +41,9 @@ Window controls will be all wrong without it background-color: transparent !important; } /* Extra top padding in maximized window */ -:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; } - +@media (-moz-os-version: windows-win10){ + :root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; } +} /* Window controls in nav-bar */ :root:not([customizing]) #toolbar-menubar[inactive]{ height: initial !important;