Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

How to align all tab content (tab text, tab icon) on left but keep tab close button on right in userChrome.css

  • Žiadne odpovede
  • 1 má tento problém
  • 14 zobrazení
more options

I am currently using a css theme that makes firefox look somewhat like safari, so all of the tabs' content (the text and icon) are lined up in the center. However, the close tab button also ends up lining up in the center, and I'm not sure how to fix that, because of the following code:

/* Center all content */ .tab-content { display: flex; justify-content: center; align-items: center; margin-top: -1px; min-width: 100% !important; padding: 0 10px !important; }

the align-items: center makes it so that the close tab button is also in the center. How can I change the position of the close tab button individually?

I am currently using a css theme that makes firefox look somewhat like safari, so all of the tabs' content (the text and icon) are lined up in the center. However, the close tab button also ends up lining up in the center, and I'm not sure how to fix that, because of the following code: /* Center all content */ .tab-content { display: flex; justify-content: center; align-items: center; margin-top: -1px; min-width: 100% !important; padding: 0 10px !important; } the align-items: center makes it so that the close tab button is also in the center. How can I change the position of the close tab button individually?