tasbar: Move tabs close button to the left on gtk-csd-reversed-placement
Fixes #538
This commit is contained in:
parent
5f531cf8aa
commit
8c9db7a9cd
|
@ -491,6 +491,28 @@ tab {
|
|||
margin-inline-start: 0 !important;
|
||||
}
|
||||
|
||||
/* Left close buttons */
|
||||
@media (-moz-gtk-csd-reversed-placement) {
|
||||
/* Reorder and fix alignment */
|
||||
.tab-icon-stack {
|
||||
order: 1 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.tab-label-container {
|
||||
order: 2 !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
.tab-close-button {
|
||||
order: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
/* Overlay is nor longer needed */
|
||||
.tabbrowser-tab:not([pinned]) .tab-content::before {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* OPTIONAL: Hide single tab */
|
||||
@supports -moz-bool-pref("gnomeTheme.hideSingleTab") {
|
||||
#tabbrowser-tabs tab:only-of-type,
|
||||
|
|
Loading…
Reference in New Issue