Skip to content

Row props overwriting one another.Β #123

@taylorpreston

Description

@taylorpreston

When declaring the prop center="xs" the Row never lets go of the center class after it gets bigger than the declared "xs" size in the ThemeProvider component. I did some digging and it seems like the issue has to do with the order in which the classes are defined.
`

<Row start="sm" center="xs">
  <Col>Foo</Col>
</Row>

`

If I add the between prop to the Row component then the between takes over after the "xs" size declaration, but the start class is never added at the "md" size. Any suggestions on how to fix this would be appreciated. πŸ‘

`

<Row start="md" between="sm" center="xs">
  <Col>Foo</Col>
</Row>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions