Skip to content

Commit

Permalink
Adjust list styling to have fixed width for large viewport widths
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Jun 21, 2024
1 parent 0845aec commit 6b0d9fb
Show file tree
Hide file tree
Showing 2 changed files with 10 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 @@ -10,6 +10,12 @@
grid-gap: 4px;
}

@media (width >= 1514px) {
.autoList {
justify-content: center;
}
}

/* Cap grid column width at 5 for larger viewports */
@media (width >= 1605px) {
.autoGrid {
Expand Down
4 changes: 4 additions & 0 deletions src/renderer/scss-partials/_ft-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ $watched-transition-duration: 0.5s;
.info .description {
margin-inline-end: 10px;
}

@media only screen and (width >= 1514px) {
inline-size: 1250px;
}
}

&.grid {
Expand Down

0 comments on commit 6b0d9fb

Please sign in to comment.