Fix: Show #tabs-newtab-button at overflow (#212)

This commit is contained in:
MS_Y 2022-10-07 22:45:09 +09:00 committed by GitHub
parent 9cce78da35
commit a435e7507f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,6 @@ See the above repository for updates as well as full license text. */
} }
@-moz-document url(chrome://browser/content/browser.xhtml){ @-moz-document url(chrome://browser/content/browser.xhtml){
#scrollbutton-up~spacer, #scrollbutton-up~spacer,
#scrollbutton-up, #scrollbutton-up,
#scrollbutton-down{ display: var(--scrollbutton-display-model,initial) } #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 */ /* remove bottom margin so it doesn't throw off row height computation */
#tabs-newtab-button{ margin-bottom: 0 !important; } #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, #alltabs-button,
:root:not([customizing]) #TabsToolbar #new-tab-button, :root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-arrowscrollbox > spacer, #tabbrowser-arrowscrollbox > spacer,
.tabbrowser-tab::after{ display: none !important } .tabbrowser-tab::after{ display: none !important }