adjust featured genres breakpoints

This commit is contained in:
jeffvli
2025-12-28 06:04:54 -08:00
parent 7106b100ce
commit f9c3c107bd
2 changed files with 6 additions and 5 deletions
@@ -65,6 +65,7 @@
margin-right: var(--theme-spacing-xl); margin-right: var(--theme-spacing-xl);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-weight: 500;
white-space: nowrap; white-space: nowrap;
} }
@@ -30,19 +30,19 @@ function getGenresToShow(breakpoints: {
isLargerThanXxxl: boolean; isLargerThanXxxl: boolean;
}) { }) {
if (breakpoints.isLargerThanXxxl) { if (breakpoints.isLargerThanXxxl) {
return 42; return 18;
} }
if (breakpoints.isLargerThanXxl) { if (breakpoints.isLargerThanXxl) {
return 30; return 15;
} }
if (breakpoints.isLargerThanXl) { if (breakpoints.isLargerThanXl) {
return 24; return 12;
} }
if (breakpoints.isLargerThanLg) { if (breakpoints.isLargerThanLg) {
return 18; return 12;
} }
if (breakpoints.isLargerThanMd) { if (breakpoints.isLargerThanMd) {
@@ -50,7 +50,7 @@ function getGenresToShow(breakpoints: {
} }
if (breakpoints.isLargerThanSm) { if (breakpoints.isLargerThanSm) {
return 9; return 8;
} }
return 6; return 6;