Fix: Centered Label - overflowing and unwinding

Always include `padding-inline-end` at label self.
It's prevent recalculation.
This commit is contained in:
alstjr7375 2022-07-07 10:38:33 +09:00
parent f5c5c011e9
commit 8ffcd54697
2 changed files with 5 additions and 4 deletions

View file

@ -5182,8 +5182,9 @@
#tabbrowser-tabs[closebuttons="activetab"]
.tabbrowser-tab:not([selected]):not(:hover, [pinned])
.tab-label-container:not([textoverflow]) {
margin-inline-end: 19px;
.tab-label-container
label {
padding-inline-end: 19px;
}
}
}

View file

@ -18,7 +18,7 @@
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) {
margin-inline-end: 1px;
}
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected]):not(:hover, [pinned]) .tab-label-container:not([textoverflow]) {
margin-inline-end: 19px;
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected]):not(:hover, [pinned]) .tab-label-container label {
padding-inline-end: 19px;
}
}