From a73238a267e3d1354cafd73ab28bf77da45392fd Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 19 Sep 2021 20:15:26 +0300 Subject: [PATCH] fix tabs-newtab-button appearance --- chrome/hide_tabs_with_one_tab.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index d9630df..a039fbd 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -39,11 +39,13 @@ See the above repository for updates as well as full license text. */ } /* Button re-styling */ -#tabs-newtab-button:hover, -#tabbrowser-tabs .tabs-newtab-button:hover{ background-color: var(--toolbarbutton-hover-background) } +#tabs-newtab-button{ transform: scale(0.8); } +#tabs-newtab-button:hover{ + background-color: var(--toolbarbutton-hover-background); + border-radius: var(--tab-border-radius); +} -#tabs-newtab-button > .toolbarbutton-icon, -#tabbrowser-tabs .tabs-newtab-button > .toolbarbutton-icon{ +#tabs-newtab-button > .toolbarbutton-icon{ padding: 0 !important; transform: scale(0.6); background-color: transparent !important; @@ -57,5 +59,5 @@ See the above repository for updates as well as full license text. */ transition: height 0ms steps(1) 80ms; } :where(#nav-bar){ - border-inline: var(--uc-window-drag-space-width) solid var(--toolbar-bgcolor); -} + border-inline: var(--uc-window-drag-space-width,0) solid var(--toolbar-bgcolor); +} \ No newline at end of file