Use grid for better spacing between elements.

This commit is contained in:
2020-11-16 14:35:12 +01:00
parent c1c11f9782
commit 3b8d6f22ca

View File

@@ -86,14 +86,10 @@ h1 {
}
#wines-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: flex-start;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 2rem;
@include desktop {
margin: 0 2rem;
}
> div {
justify-content: flex-start;