Tabs: Make default text alignment consistent #62025
Labels
Needs Design Feedback
Needs general design feedback.
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
Noticed while working on #62018
Wondering whether there is any reason why the text horizontal alignment for some tabs is left and for some tabs is centered.
I would expect the alignment to be consistent across the UI.
Example screenshot from latest trunk:
I'd think at least the default alignment should be always consistent.
In the rare cases where a different alignment is desired, this should be done with a variant of the base component rather than with ad-hoc CSS.
Cc @WordPress/gutenberg-design
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: