-
Notifications
You must be signed in to change notification settings - Fork 40
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 gutter classes #16
Comments
yes, thanks a lot, we implement your avalanche grid system in your framework: Merci |
@igaman Hi. There's authentication on the link you sent so I can't access. |
I currently need it. I would like to be able to set/unset a |
Something like that: @if $av-enable-grid-center {
@each $alias, $query in $av-breakpoints {
@media #{$query} {
.#{avCreateBlockClassName('center')}-at-#{$alias} {
text-align: center;
> .#{avCreateElementClassName()} {
text-align: left;
}
}
}
}
}
@if $av-enable-grid-right {
@each $alias, $query in $av-breakpoints {
@media #{$query} {
.#{avCreateBlockClassName('right')}-at-#{$alias} {
text-align: right;
> .#{avCreateElementClassName()} {
text-align: left;
}
}
}
}
} |
Hi @GesJeremie. Could you submit a PR for this? Seems like a good option. |
In response to a tweet - would anyone find responsive gutter classes like
.grid--small--portable
useful?Currently, Avalanche has
.grid--small
etc where the gutter width can be modified for a grid but maybe there is a need for these to be controlled at a breakpoint level as well?To achieve this, add a new Sass map to settings for the required gutters:
Then loop through these and the breakpoints to create the responsive breakpoint gutter classes:
The text was updated successfully, but these errors were encountered: