Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flex column on small viewport #201

Closed
yoshuawuyts opened this issue Jun 7, 2016 · 2 comments
Closed

Flex column on small viewport #201

yoshuawuyts opened this issue Jun 7, 2016 · 2 comments

Comments

@yoshuawuyts
Copy link

It'd be nice to be able to set flex-direction based on a viewport:

On desktop I want side-by-side columns:
screen shot 2016-06-08 at 00 56 45

But on mobile I'd like to stack them:
screen shot 2016-06-08 at 00 54 53

Being able to set flex-direction based on viewport would be heaps helpful for flexbox reflows. I hope this makes sense. Thanks!

@jxnblk
Copy link
Member

jxnblk commented Jun 9, 2016

Several people have asked for this so it might be worth adding in. If I want stacked items on mobile I tend to just leave them display block and use sm-flex etc on the parent.

@yoshuawuyts
Copy link
Author

yoshuawuyts commented Jun 11, 2016

Oh that's pretty smart - I'll use that workaround for now then ^__^

@jxnblk jxnblk closed this as completed May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants