From 9dc7536767e218803a6a78ca349eb9012be138d4 Mon Sep 17 00:00:00 2001 From: Alperen Elhan Date: Tue, 7 Feb 2023 18:46:29 +0300 Subject: [PATCH] fix: use smaller card and title --- src/components/addManga/index.tsx | 4 ++-- src/components/mangaCard.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/addManga/index.tsx b/src/components/addManga/index.tsx index b418afe..c29d859 100644 --- a/src/components/addManga/index.tsx +++ b/src/components/addManga/index.tsx @@ -6,8 +6,8 @@ import { AddMangaForm } from './form'; const useStyles = createStyles((theme) => ({ card: { - height: 350, - width: 210, + height: 320, + width: 200, display: 'flex', justifyContent: 'center', alignItems: 'center', diff --git a/src/components/mangaCard.tsx b/src/components/mangaCard.tsx index dd47212..6a9db6b 100644 --- a/src/components/mangaCard.tsx +++ b/src/components/mangaCard.tsx @@ -10,13 +10,13 @@ import { useUpdateModal } from './updateManga'; const useStyles = createStyles((theme, _params, getRef) => ({ skeletonCard: { - height: 350, - width: 210, + height: 320, + width: 200, }, card: { position: 'relative', - height: 350, - width: 210, + height: 320, + width: 200, cursor: 'pointer', display: 'flex', flexDirection: 'column', @@ -216,7 +216,7 @@ export function MangaCard({ manga, onRemove, onUpdate, onRefresh, onClick }: Man > {manga.source} - + <Title order={5} className={classes.title}> {manga.title}