-
Notifications
You must be signed in to change notification settings - Fork 60
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
Responsive number of columns #99
Comments
Hi @mr-samani ! This feature is not currently built into the grid. However, it would be nice to implement it one day, since is an easy feature that many people is requesting. We could define the number of columns per width, something like this: breakpoints = {lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0},
cols = {lg: 12, md: 10, sm: 6, xs: 4, xxs: 2}, If you are really interested on having this issue, the quickest approach is to implement it yourself. You only need to create a pull request (PR) with the appropriate changes. If you decide to do so, I recommend to join the Discord so I can provide you some guidance. |
How can it be made responsive?
Is such a possibility available?
I want, for example, to change the columns to 2 in tablet size and have the grid layout automatically adjust itself,
or have all items stacked vertically in a single column on mobile devices.
The text was updated successfully, but these errors were encountered: