diff --git a/src/components/anime/EpisodeCard.tsx b/src/components/anime/EpisodeCard.tsx index 9aa44113..46f7d116 100644 --- a/src/components/anime/EpisodeCard.tsx +++ b/src/components/anime/EpisodeCard.tsx @@ -42,6 +42,9 @@ const useStyles = makeStyles((theme) => ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps{ @@ -79,7 +82,7 @@ export default function EpisodeCard(props: IProps) { return ( <>
  • - + ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps { @@ -114,7 +117,7 @@ export default function ExtensionCard(props: IProps) { } return ( - +
    ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps { @@ -57,7 +60,7 @@ export default function SourceCard(props: IProps) { const classes = useStyles(); return ( - +
    ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps{ @@ -85,7 +88,7 @@ export default function ChapterCard(props: IProps) { return ( <>
  • - + ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps { @@ -114,7 +117,7 @@ export default function ExtensionCard(props: IProps) { } return ( - +
    ({ flex: '0 0 auto', marginRight: 16, }, + card: { + margin: '10px', + }, })); interface IProps { @@ -58,7 +61,7 @@ export default function SourceCard(props: IProps) { const classes = useStyles(); return ( - +
    ({ root: { + margin: '20px 10px', + display: 'flex', + justifyContent: 'space-around', + width: '300px', TextField: { margin: theme.spacing(1), width: '25ch', @@ -95,7 +99,9 @@ export default function AnimeSearchSingle() { e.key === 'Enter' && processInput()} /> diff --git a/src/screens/manga/SearchSingle.tsx b/src/screens/manga/SearchSingle.tsx index 656b6294..e7b5532a 100644 --- a/src/screens/manga/SearchSingle.tsx +++ b/src/screens/manga/SearchSingle.tsx @@ -16,6 +16,10 @@ import client from 'util/client'; const useStyles = makeStyles((theme) => ({ root: { + margin: '20px 10px', + display: 'flex', + justifyContent: 'space-around', + width: '300px', TextField: { margin: theme.spacing(1), width: '25ch', @@ -95,7 +99,9 @@ export default function SearchSingle() { e.key === 'Enter' && processInput()} />