Firefox Proton: center tab label
Hello,
The following CSS code used to center the tab label prior to Proton.
.tab-label { -moz-box-flex: 1 !important; text-align: center !important; }
Any idea how to achieve that in Proton?
Thank you.
Chosen solution
.tab-label-container.proton { display: grid !important; justify-items: safe center !important; } .tab-label { overflow: hidden !important; }
Seems to work properly with Proton enabled.
Credit and many thanks to @sean1138 in https://github.com/black7375/Firefox-UI-Fix/issues/71.
Read this answer in context 👍 0All Replies (1)
Chosen Solution
.tab-label-container.proton { display: grid !important; justify-items: safe center !important; } .tab-label { overflow: hidden !important; }
Seems to work properly with Proton enabled.
Credit and many thanks to @sean1138 in https://github.com/black7375/Firefox-UI-Fix/issues/71.
Modified