From 13407ce57e33142faa49b052b7e79473c23b91ac Mon Sep 17 00:00:00 2001 From: TinsFox Date: Tue, 3 Dec 2024 20:02:09 +0800 Subject: [PATCH] style: optimize table list style --- .../(admin)/(with-layout)/list/card-list.tsx | 10 ++++--- .../list/table-list/components/album-card.tsx | 28 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/apps/admin/src/pages/(admin)/(with-layout)/list/card-list.tsx b/apps/admin/src/pages/(admin)/(with-layout)/list/card-list.tsx index 9ec2efb..88c1849 100644 --- a/apps/admin/src/pages/(admin)/(with-layout)/list/card-list.tsx +++ b/apps/admin/src/pages/(admin)/(with-layout)/list/card-list.tsx @@ -8,10 +8,12 @@ export function Component() { return (
-
- {data?.list?.map((album: IAlbum) => ( - - ))} +
+
+ {data?.list?.map((album: IAlbum) => ( + + ))} +
) diff --git a/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/components/album-card.tsx b/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/components/album-card.tsx index d8cc98d..eadf0a1 100644 --- a/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/components/album-card.tsx +++ b/apps/admin/src/pages/(admin)/(with-layout)/list/table-list/components/album-card.tsx @@ -26,16 +26,16 @@ export function AlbumCard(props: AlbumCardProps) { return (
-
-
+
+
{album.title}
-
+
-
- - - {album.title} - +
+ + + {album.title} + {album.slogan} - - + + {album.title} - +