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