Skip to content

Commit

Permalink
Switch to 6 columns after 2000px, and set max card width to 2800px
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Jun 20, 2024
1 parent 7d23aac commit 74bf210
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/renderer/components/ft-auto-grid/ft-auto-grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@
grid-template-columns: repeat(5, minmax(262px, 1fr));
}
}

@media (width >= 2000px) {
.autoGrid {
grid-template-columns: repeat(6, minmax(262px, 1fr));
}
}
1 change: 1 addition & 0 deletions src/renderer/components/ft-card/ft-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
padding-block: 3px 16px;
padding-inline: 16px;
box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
max-inline-size: 2800px;
}

0 comments on commit 74bf210

Please sign in to comment.