Only set chapter card icon button color in reader mode

This commit is contained in:
schroda
2025-01-17 16:12:15 +01:00
parent 8e1d9b3106
commit 3d120429ac

View File

@@ -211,7 +211,9 @@ export const ChapterCard = memo((props: IProps) => {
onClick={(e) => handleClickOpenMenu(e, popupState.open)}
aria-label="more"
size="large"
color={mode === 'reader' && isActiveChapter ? 'secondary' : 'primary'}
sx={applyStyles(mode === 'reader' && isActiveChapter, {
color: 'secondary',
})}
>
<MoreVertIcon />
</IconButton>