Use grid for better spacing between elements.
This commit is contained in:
@@ -86,14 +86,10 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wines-container {
|
#wines-container {
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-wrap: wrap;
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||||
justify-content: space-evenly;
|
grid-gap: 2rem;
|
||||||
align-items: flex-start;
|
|
||||||
|
|
||||||
@include desktop {
|
|
||||||
margin: 0 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|||||||
Reference in New Issue
Block a user