Skip to content

Commit

Permalink
Limit collection rendering to 3 max in grids
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianfreeman committed Jan 8, 2025
1 parent eef7a29 commit f6550ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/styles/collection.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@

@media (max-width: 2400px) {
.Collection {
--columns: 6
--columns: 3
}
}

@media (max-width: 2100px) {
.Collection {
--columns: 5
--columns: 3
}
}

@media (max-width: 1800px) {
.Collection {
--columns: 4
--columns: 3
}
}

Expand Down Expand Up @@ -156,4 +156,4 @@
.Collection-is-centered .Collection--title {
font-size: 1.4em;
}
}
}

0 comments on commit f6550ad

Please sign in to comment.