mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
adjust featured genres breakpoints
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user