From adc1daf421e8486340d2bb337ac5f3d38963f0d6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 9 Oct 2023 13:45:57 -0500 Subject: [PATCH] fixing firefox css after udpate --- .../navbar_tabs_oneliner_tabs_on_left.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css b/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css index cf48502..2ee6e25 100644 --- a/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css +++ b/.config/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css @@ -1,5 +1,5 @@ /* Modify these to change relative widths or default height */ -#navigator-toolbox{ --uc-navigationbar-width: -2vw; --uc-toolbar-height: 20px; --window-drag-space-width: 0px} +#navigator-toolbox{ --uc-navigationbar-width: -2vw; --uc-toolbar-height: 28px; --window-drag-space-width: 0px} /* Override for other densities */ :root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 22px;} :root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; } @@ -78,6 +78,9 @@ the close button is positioned to the far right */ .tab-close-button { opacity: 1 !important; min-width: 30px; + margin-top: 4px; + display: -moz-box; + -moz-box-flex: 1; } #tabs-newtab-button { @@ -92,7 +95,7 @@ the close button is positioned to the far right */ .tabbrowser-tab, .tab-background, .tab-stack { margin-top: 0px !important; - max-height: 20px !important; + max-height: 37px !important; border: none !important; border-radius: 1px !important; } @@ -134,8 +137,8 @@ the close button is positioned to the far right */ #navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar), #navigator-toolbox:focus-within :-moz-any(#nav-bar) { /*visibility: visible !important;*/ - min-height: 34px !important; - max-height: 34px !important; + min-height: 32px !important; + max-height: 32px !important; margin-top: 15px !important; margin-bottom: -48px !important; transition: all 200ms ease 0s !important; @@ -144,6 +147,10 @@ the close button is positioned to the far right */ box-shadow: 3px 3px 8px 2px #111 !important; } +#navigator-toolbox{ + max-height: 32px !important; +} + /* make urlbar rounded */ #urlbar{ margin-top: 17px !important; @@ -168,5 +175,5 @@ the close button is positioned to the far right */ #urlbar[breakout][breakout-extend] > #urlbar-input-container { height: calc(var(--uc-toolbar-height) + 12 * 2px) !important; padding-block: calc(2px + (var(--uc-toolbar-height) - var(--urlbar-height)) / 2); - padding-inline: calc(5px + 2px); + padding-inline: 8px; }