-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 $grid-margin-gutters only work when XY-cell is included with a breakpoint #10743
Comments
I think what you are looking for is the mixin |
@mwinkelm The doc is incorrect about @studiobovenkamer You may want to use: @include xy-cell($breakpoint: medium); To generate a cell with medium gutters. But it is not responsive. |
Is this not an issue to have to do that to have responsive gutters? I mean let's say a block have:
and my setting.scss is:
and this 6 value is the same for small, medium, large and xlarge breakpoint. So if we wan to have responsive gutters we should do:
@ncoden Am i missing something here? |
I'm working with the XY-grid. I tried to get different gutters for medium (30px) and small (15px), but I discovered that this only works when the xy-cells are nested in a breakpoint media query, like this:
I don't know if this is a bug or a feature, but I expected that in this example .icon would have responsive gutters too (just like it does with $grid-column-gutter) without nesting the cell in media queries. Currently this leads to extra coding, for example this could be simpler:
The text was updated successfully, but these errors were encountered: