-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Grid component #48
Comments
This will be great! Assuming this will provide a responsive underlay we can use for mobile/desktop UIs. |
That's a little bit tricky – currently I've done responsive support via To preview the feature:
|
I don't use SSR so for me useMediaQuery works fine. |
It's more complicated – jss has full support for media queries with some bugs, (e.g., cssinjs/jss#1320), this is the only sacrifice which I hope will be resolved in future, so ssr does not restrict anything |
Resolved in 1.1.0 |
@mantine/core should export Grid component with 12 columns flexbox grid
Exported components:
Grid component props:
theme.spacing
, number value to set spading in px.Col component props:
number
– defines (span / 12)% of space which column will takeThe text was updated successfully, but these errors were encountered: