Fix: Tab - Container size adjust for vertical tab #1095

This commit is contained in:
alstjr7375 2025-12-19 00:00:00 +09:00
parent 9477ffc951
commit 3087a6cadb
3 changed files with 12 additions and 8 deletions

View file

@ -35,11 +35,12 @@
display: block;
position: absolute;
top: 50%;
left: var(--tab-inline-padding);
transform: translate(var(--uc-container-position-x), var(--uc-container-position-y));
/* Shape */
border-bottom: 2px solid var(--identity-icon-color);
width: calc(100% - 30px);
width: calc(100% - (var(--tab-inline-padding) + var(--tab-inner-inline-margin)) * 2);
opacity: 0.75;
}
.tabbrowser-tab[visuallyselected] .tab-content::before {
@ -51,7 +52,7 @@
width: 25%;
}
.tabbrowser-tab[visuallyselected]:not([pinned]) .tab-content::before {
width: calc(100% - 30px);
width: calc(100% - (var(--tab-inline-padding) + var(--tab-inner-inline-margin)) * 2);
}
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab[visuallyselected]:not([pinned]) .tab-content::before {
width: calc(100% - 33px);