fixed squashed titlebar buttons on windows

This commit is contained in:
bmFtZQ 2021-03-14 17:10:05 +08:00 committed by GitHub
parent 17de5d7710
commit cc1fd6eec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 30 deletions

View file

@ -30,7 +30,7 @@
#TabsToolbar-customization-target > toolbarbutton {
transform: translateY(8px) !important;
}
#TabsToolbar toolbarbutton, #TabsToolbar .tabbrowser-arrowscrollbox::part(scrollbutton-up), #TabsToolbar .tabbrowser-arrowscrollbox::part(scrollbutton-down), #scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton), #scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton) {
#TabsToolbar toolbarbutton:not(.titlebar-button), #TabsToolbar .tabbrowser-arrowscrollbox::part(scrollbutton-up), #TabsToolbar .tabbrowser-arrowscrollbox::part(scrollbutton-down), #scrollbutton-up[part="scrollbutton-up"]:not(.menupopup-scrollbutton), #scrollbutton-down[part="scrollbutton-down"]:not(.menupopup-scrollbutton) {
margin-top: 10px !important;
margin-bottom: 0 !important;
}

View file

@ -105,6 +105,7 @@
font-size: 12px !important;
background: 0 !important;
border: 0 !important;
padding: 0 !important;
}
.tabbrowser-tab[visuallyselected]
@ -230,6 +231,7 @@
background-color 0s var(--tab-transition-duration) var(--ease-basic) !important;
opacity: var(--tab-opacity) !important;
visibility: visible !important;
margin: 0 !important;
}
/* rounded bottom corners */