mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
improve compact size item card
This commit is contained in:
@@ -50,7 +50,7 @@ export const AlbumListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ALBUM, ItemListKey.ALBUM);
|
||||
const rows = useGridRows(LibraryItem.ALBUM, ItemListKey.ALBUM, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -55,7 +55,7 @@ export const AlbumListPaginatedGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ALBUM, ItemListKey.ALBUM);
|
||||
const rows = useGridRows(LibraryItem.ALBUM, ItemListKey.ALBUM, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
@@ -51,7 +51,7 @@ export const AlbumArtistListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ALBUM_ARTIST, ItemListKey.ALBUM_ARTIST);
|
||||
const rows = useGridRows(LibraryItem.ALBUM_ARTIST, ItemListKey.ALBUM_ARTIST, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -56,7 +56,7 @@ export const AlbumArtistListPaginatedGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ALBUM_ARTIST, ItemListKey.ALBUM_ARTIST);
|
||||
const rows = useGridRows(LibraryItem.ALBUM_ARTIST, ItemListKey.ALBUM_ARTIST, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
@@ -50,7 +50,7 @@ export const ArtistListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ARTIST, ItemListKey.ARTIST);
|
||||
const rows = useGridRows(LibraryItem.ARTIST, ItemListKey.ARTIST, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -55,7 +55,7 @@ export const ArtistListPaginatedGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.ARTIST, ItemListKey.ARTIST);
|
||||
const rows = useGridRows(LibraryItem.ARTIST, ItemListKey.ARTIST, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
@@ -50,7 +50,7 @@ export const GenreListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.GENRE, ItemListKey.GENRE);
|
||||
const rows = useGridRows(LibraryItem.GENRE, ItemListKey.GENRE, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -55,7 +55,7 @@ export const GenreListPaginatedGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.GENRE, ItemListKey.GENRE);
|
||||
const rows = useGridRows(LibraryItem.GENRE, ItemListKey.GENRE, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
@@ -50,7 +50,7 @@ export const PlaylistListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.PLAYLIST, ItemListKey.PLAYLIST);
|
||||
const rows = useGridRows(LibraryItem.PLAYLIST, ItemListKey.PLAYLIST, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -55,7 +55,7 @@ export const PlaylistListPaginatedGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.PLAYLIST, ItemListKey.PLAYLIST);
|
||||
const rows = useGridRows(LibraryItem.PLAYLIST, ItemListKey.PLAYLIST, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
@@ -45,7 +45,7 @@ export const SongListInfiniteGrid = ({
|
||||
enabled: saveScrollOffset,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.SONG, ItemListKey.SONG);
|
||||
const rows = useGridRows(LibraryItem.SONG, ItemListKey.SONG, size);
|
||||
|
||||
return (
|
||||
<ItemGridList
|
||||
|
||||
@@ -44,7 +44,7 @@ export const SongListPaginatedGrid = ({
|
||||
serverId,
|
||||
});
|
||||
|
||||
const rows = useGridRows(LibraryItem.SONG, ItemListKey.SONG);
|
||||
const rows = useGridRows(LibraryItem.SONG, ItemListKey.SONG, size);
|
||||
|
||||
return (
|
||||
<ItemListWithPagination
|
||||
|
||||
Reference in New Issue
Block a user