Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Proton: center tab label

  • No replies
  • 1 has this problem
  • 186 views
more options

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.

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 👍 0

All Replies (1)

more options

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 by Yaron