fix(firefox): tab selection and non-overflowing size

This commit is contained in:
Tanguy Herbron 2023-05-05 17:32:21 +02:00
parent af27cdea36
commit 6695c738e5

View File

@ -90,12 +90,16 @@ tab:not(:active) .tab-background {
transition-delay: 3s; transition-delay: 3s;
} }
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
height: unset;
}
.tab-label-container:not([textoverflow]) { .tab-label-container:not([textoverflow]) {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
justify-content: center; justify-content: center;
width: 50% !important; width: 100% !important;
max-width: 50% !important; max-width: 100% !important;
min-width: 50% !important; min-width: 50% !important;
} }
@ -641,12 +645,8 @@ menu:not(.subviewbutton) > .menu-right image {
border-left: none !important; border-left: none !important;
} }
.tab-background {
border: none !important;
}
.tab-background[selected="true"] { .tab-background[selected="true"] {
border-bottom: 2px solid var(--mff-tab-selected-bg) !important; border-bottom: 5px solid var(--mff-tab-selected-bg) !important;
} }
.tab-background:not[visuallyselected] { .tab-background:not[visuallyselected] {