Fixed close tab button having weird paddings

This commit is contained in:
mr. M
2024-11-02 17:45:15 +01:00
parent b6f4611994
commit 3a374dcdba

View File

@@ -134,6 +134,7 @@
border-radius: 5px; border-radius: 5px;
pointer-events: none; pointer-events: none;
margin: 0; margin: 0;
--toolbarbutton-inner-padding: 0;
& .tab-background { & .tab-background {
background: transparent; background: transparent;
@@ -355,6 +356,7 @@
&:not([pinned]):is(:hover, [visuallyselected]) .tab-close-button { &:not([pinned]):is(:hover, [visuallyselected]) .tab-close-button {
display: block; display: block;
--tab-inline-padding: 0; /* Avoid weird padding */
} }
.tab-throbber, .tab-throbber,