Update manga page styling

This commit is contained in:
schroda
2024-08-30 04:34:28 +02:00
parent 74d777a52b
commit 053db4a1e3
7 changed files with 82 additions and 137 deletions

View File

@@ -52,11 +52,11 @@ export const TrackMangaButton = ({ manga }: { manga: MangaTrackRecordInfo & Pick
<>
<CustomIconButton
{...bindTrigger(popupState)}
size="medium"
disabled={trackerList.loading || !!trackerList.error}
onClick={() => handleClick(popupState.open)}
onTouchStart={() => handleClick(popupState.open)}
size="large"
sx={{ color: trackersInUse.length ? '#2196f3' : 'inherit' }}
variant={trackersInUse.length ? 'contained' : 'outlined'}
>
{trackersInUse.length ? <CheckIcon /> : <SyncIcon />}
{trackersInUse.length