-
Notifications
You must be signed in to change notification settings - Fork 53
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
How to horizantally centre items? #57
Comments
Good question. I have the same issue. |
@kefirr Let me know if you found any solution for this |
In my case helped: but the better way is to use dedicated utility getResponsiveStyle |
@kefirr I think in your case number of item is fixed, but in my web app, the items keeps changing dynamically upto 25 items. Will it be good to use utility getResponsiveStyle in this case? |
I want the items inside the MuuriComponent to be horizontally centre:
check out this demo: https://codesandbox.io/s/muuri-react-media-query-forked-f1p92?file=/package.json
I want the items in the 2nd row to be horizontally centre, I've tried modifying CSS for MuuriComponent but it didn't worked for me.
The text was updated successfully, but these errors were encountered: