QNetITQ/WaveFox

Huge space between tabs (Tabs (Option 7))

Closed this issue · 3 comments

There is space between tabs when this option is enabled.

And I created a fresh Firefox nightly profile just to be sure, and simply enabled toolkit.legacyUserProfileCustomizations.stylesheets and userChrome.Tabs.Option7.Enabled.

Not just this option, but the tabs as a whole

I fixed it just as a temporary fix for option 7:

@media (-moz-bool-pref: "userChrome.Tabs.Option7.Enabled") {
    --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
    --margin-inline-for-tabs: calc(-1.45 * (var(--tab-min-height) / 2));
}

i added --margin-inline-for-tabs: calc(-1.45 * (var(--tab-min-height) / 2));
then

.tab-background {
    mask-image: var(--left-svg), var(--center-svg), var(--right-svg);
    mask-size: auto 100%, calc(100% - var(--tab-min-height) * 2) 100%, auto 100%;
    mask-position: left center, center center, right center;
    mask-repeat: no-repeat, no-repeat, no-repeat;
    box-shadow: none !important;
    outline: none !important;
    margin-block: var(--tab-bg-block-margin) !important;
    margin-inline: var(--margin-inline-for-tabs) !important;
    border-radius: 0px !important;
    pointer-events: none !important;
}

Fixed in the Nightly branch.