Only set chapter card icon button color in reader mode
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user