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

Add option to 'reset' grid at breakpoints #33

Open
meowsus opened this issue Feb 16, 2017 · 3 comments
Open

Add option to 'reset' grid at breakpoints #33

meowsus opened this issue Feb 16, 2017 · 3 comments

Comments

@meowsus
Copy link

meowsus commented Feb 16, 2017

Hey,

While working with the grid I ran into a situation where toggling from a width-based grid to an automatic grid at a breakpoint made sense.

Would you be interested in a PR for this functionality? Or do you think it might open up the floodgates for the use case of switching from an automatic grid to a width-based grid?

Let me know and I'd happily submit the PR to you.

@colourgarden
Copy link
Owner

I guess a grid 'reset' option where it removes everything width-based may be useful but I'd like to see specific use-cases before committing to introducing this as a feature. Could you provide a use-case or example for this?

@meowsus
Copy link
Author

meowsus commented Jun 20, 2017

It's been a few months since I opened this issue, so I'll admit that I don't remember my original use case. I mocked up a simple icon-based utility nav use case, which may be a bit contrived, but I think it'll at least start a discussion:

icon-based utility menu

@colourgarden
Copy link
Owner

I think, currently, this could be solved with a nested grid but I can see the value in a reset of some sorts. The unset keyword may be useful here so I'll leave this as a feature request for the flexbox rewrite.

@colourgarden colourgarden changed the title Responsive grid--auto Add option to 'reset' grid at breakpoints Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants