Layout works better with auto columns
This commit is contained in:
parent
60f62f6f36
commit
9499693baa
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue