Skip to content

Commit

Permalink
fix: use smaller card and title
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Feb 7, 2023
1 parent 67bb111 commit 9dc7536
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/addManga/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 5 additions & 5 deletions src/components/mangaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -216,7 +216,7 @@ export function MangaCard({ manga, onRemove, onUpdate, onRefresh, onClick }: Man
>
{manga.source}
</Badge>
<Title order={3} className={classes.title}>
<Title order={5} className={classes.title}>
{manga.title}
</Title>
</div>
Expand Down

0 comments on commit 9dc7536

Please sign in to comment.