Skip to content

Commit 83e79e1

Browse files
committed
Adjust list styling to have fixed width for large viewport widths
1 parent 0845aec commit 83e79e1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/renderer/components/ft-auto-grid/ft-auto-grid.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
grid-gap: 4px;
1111
}
1212

13+
@media (width >= 1514px) {
14+
.autoList {
15+
justify-content: center;
16+
}
17+
}
18+
1319
/* Cap grid column width at 5 for larger viewports */
1420
@media (width >= 1605px) {
1521
.autoGrid {

src/renderer/scss-partials/_ft-list-item.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ $watched-transition-duration: 0.5s;
311311
.info .description {
312312
margin-inline-end: 10px;
313313
}
314+
315+
@media only screen and (width >= 1514px) {
316+
max-inline-size: 1250px;
317+
}
314318
}
315319

316320
&.grid {

0 commit comments

Comments
 (0)