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);
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
white-space: nowrap;
}
@@ -30,19 +30,19 @@ function getGenresToShow(breakpoints: {
isLargerThanXxxl: boolean;
}) {
if (breakpoints.isLargerThanXxxl) {
return 42;
return 18;
}
if (breakpoints.isLargerThanXxl) {
return 30;
return 15;
}
if (breakpoints.isLargerThanXl) {
return 24;
return 12;
}
if (breakpoints.isLargerThanLg) {
return 18;
return 12;
}
if (breakpoints.isLargerThanMd) {
@@ -50,7 +50,7 @@ function getGenresToShow(breakpoints: {
}
if (breakpoints.isLargerThanSm) {
return 9;
return 8;
}
return 6;