Layout works better with auto columns

This commit is contained in:
Kris 2018-08-01 22:37:21 -04:00
parent 60f62f6f36
commit 9499693baa
1 changed files with 4 additions and 4 deletions

View File

@ -336,16 +336,16 @@ aside.quote {
@supports (display: grid) {
// Overrides flex fallback above
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-columns: repeat(4, auto);
@include breakpoint(tablet, min-width) {
grid-template-columns: repeat(5, 1fr);
grid-template-columns: repeat(5, auto);
}
@include breakpoint(mobile) {
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(2, auto);
font-size: $font-down-1;
}
@include breakpoint(mobile-small) {
grid-template-columns: repeat(1, 1fr);
grid-template-columns: repeat(1, auto);
}
}