diff --git a/src/components/manga/MangaDetails.tsx b/src/components/manga/MangaDetails.tsx index db1285c021..36227f3d1c 100644 --- a/src/components/manga/MangaDetails.tsx +++ b/src/components/manga/MangaDetails.tsx @@ -16,6 +16,7 @@ import React, { useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import { mutate } from 'swr'; import { t as translate } from 'i18next'; +import Button from '@mui/material/Button'; import { IManga, ISource } from '@/typings'; import requestManager from '@/lib/RequestManager'; import makeToast from '@/components/util/Toast'; @@ -69,11 +70,19 @@ const Metadata = styled('div')(({ theme }) => ({ })); const MangaButtonsContainer = styled('div', { shouldForwardProp: (prop) => prop !== 'inLibrary' })<{ inLibrary: boolean; -}>(({ inLibrary }) => ({ +}>(({ theme, inLibrary }) => ({ display: 'flex', justifyContent: 'space-around', '& button': { color: inLibrary ? '#2196f3' : 'inherit', + borderRadius: '25px', + textTransform: 'none', + paddingLeft: '20px', + paddingRight: '20px', + fontSize: 'x-large', + [theme.breakpoints.down('sm')]: { + fontSize: 'larger', + }, }, '& a': { textDecoration: 'none', @@ -176,20 +185,18 @@ const MangaDetails: React.FC = ({ manga }) => {
- - {manga.inLibrary ? : } - - {manga.inLibrary ? t('manga.button.in_library') : t('manga.button.add_to_library')} - - +
- - - - {t('global.button.open_site')} - - +