From a435e7507f85f2e2a33fb6e03869421d9bc9514b Mon Sep 17 00:00:00 2001 From: MS_Y Date: Fri, 7 Oct 2022 22:45:09 +0900 Subject: [PATCH] Fix: Show `#tabs-newtab-button` at overflow (#212) --- chrome/multi-row_tabs.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chrome/multi-row_tabs.css b/chrome/multi-row_tabs.css index 1c212b6..a18df18 100644 --- a/chrome/multi-row_tabs.css +++ b/chrome/multi-row_tabs.css @@ -28,7 +28,6 @@ See the above repository for updates as well as full license text. */ } @-moz-document url(chrome://browser/content/browser.xhtml){ - #scrollbutton-up~spacer, #scrollbutton-up, #scrollbutton-down{ display: var(--scrollbutton-display-model,initial) } @@ -73,7 +72,11 @@ See the above repository for updates as well as full license text. */ /* remove bottom margin so it doesn't throw off row height computation */ #tabs-newtab-button{ margin-bottom: 0 !important; } +#tabbrowser-tabs[hasadjacentnewtabbutton][overflow="true"] > #tabbrowser-arrowscrollbox > #tabbrowser-arrowscrollbox-periphery > #tabs-newtab-button { + display: -moz-box !important; +} + #alltabs-button, :root:not([customizing]) #TabsToolbar #new-tab-button, #tabbrowser-arrowscrollbox > spacer, -.tabbrowser-tab::after{ display: none !important } \ No newline at end of file +.tabbrowser-tab::after{ display: none !important }