Fix Locations grid for 4 items

This commit is contained in:
2020-06-01 22:20:05 +02:00
parent 94859c3543
commit 014089b3c4

View File

@@ -55,15 +55,19 @@
@include breakpoint (xl) { @include breakpoint (xl) {
grid-column-gap: 96px; grid-column-gap: 96px;
grid-row-gap: 96px; grid-row-gap: 96px;
max-width: 1024px; // max-width: 1024px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 72px; margin-bottom: 72px;
// To apply when having 4 locations: // To apply when having 4 locations:
// grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
max-width: 1200px;
// grid-column-gap: 120px; // grid-column-gap: 120px;
// grid-row-gap: 120px; // grid-row-gap: 120px;
// Works well but fucks with the FLIP animations
// grid-auto-flow: column;
// grid-template-columns: repeat(auto-fit, minmax(min-content, 1fr));
} }
} }
} }