-
Notifications
You must be signed in to change notification settings - Fork 166
Description
For the heading component, text seems to be defaulting to align="center" with no way to override it using any of the options here: https://orbit.kiwi/components/text/heading/react/#enum
Expected Behavior
setting align="start" should be the equivalent of a left text-align
Current Behavior
setting align="start" does not change text-align (defaults to center)
Possible Solution
Not sure, but did see some docs using "left" whereas some say "start", neither work for me but wondering if this changed at some point and broke in certain places
Steps to Reproduce
<Tile
expandable
header={<Heading type="title1" align="start" largeMobile={{ align: "start" }}>
Testing
}
icon={<Icons.Accommodation />}
example based on this line:
| <Heading type="title3" align="center" largeMobile={{ align: "start" }}> |
Context (Environment)
This is causing inconsistencies between where I use a title or a header in my tiles (title being less flexible for changes and header={<Heading...} not working predictably.