Remove add/remove library button in migration mode from manga cards (#730)

This commit is contained in:
schroda
2024-04-11 02:02:31 +02:00
committed by GitHub
parent 37224122e6
commit 9d280577be
5 changed files with 10 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ export const MangaListCard = ({
handleSelection,
continueReadingButton,
mangaBadges,
mode,
}: SpecificMangaCardProps) => {
const optionButtonRef = useRef<HTMLButtonElement>(null);
@@ -58,7 +59,7 @@ export const MangaListCard = ({
display: isMobile ? 'none' : 'inline-flex',
},
'&:hover .source-manga-library-state-indicator': {
display: 'none',
display: mode === 'source' ? 'none' : 'inline-flex',
},
}}
>