Skip to content

Commit

Permalink
Fix grid display
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Oct 25, 2024
1 parent f430df1 commit d8f91bc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions preflib/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1284,16 +1284,21 @@ Collection page
gap:20px;
}

.collections-wrap > .collection-wrap:nth-child(2n-1):last-of-type {
grid-column: span 2;
}

@media screen and (max-width: 750px) {
.collections-wrap {
grid-template-columns: 1fr;
}
}

.collections-wrap > .collection-wrap:nth-child(2n-1):last-of-type {
grid-column: span 2;
.collections-wrap > .collection-wrap:nth-child(2n-1):last-of-type {
grid-column: span 1;
}
}


.collection-wrap {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit d8f91bc

Please sign in to comment.