Replies: 2 comments 2 replies
-
I think you need to pass a number instead of string. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey @kachar @dartilesm since NextUI is based on Stitches and has built-in media queries, you can simply add it in this way: <Container css={{
flexDirection: 'row',
'@xsMax': {
flexDirection: 'column'
}
}}>
// children ....
</Container>
for further information, you can check out these pages: Please try to avoid using the I hope this helps 🙌🏻 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋
I'm trying to achieve the following - container that is
direction: row
on desktop anddirection: column
on mobileI'm not able to find any documentation on using media queries and hooks together.
Great lib, kudos for the energy
Beta Was this translation helpful? Give feedback.
All reactions