Set proper color for active chapter card in reader

This commit is contained in:
schroda
2025-01-26 03:29:08 +01:00
parent 5d52fc4455
commit 2a4afd642d

View File

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