Prevent native mobile menu on long press

This commit is contained in:
schroda
2025-05-30 22:20:26 +02:00
parent 29d0e3ae55
commit 1162f76472
3 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,6 @@ export const ChapterCard = memo((props: IProps) => {
<Stack sx={{ pt: 1, px: 1 }}>
<Card
sx={{
touchCallout: 'none',
...applyStyles(mode === 'reader' && isActiveChapter, {
backgroundColor: 'primary.main',
}),
@@ -123,6 +122,7 @@ export const ChapterCard = memo((props: IProps) => {
to={Chapters.getReaderUrl(chapter)}
style={{
color: theme.palette.text[chapter.isRead ? 'disabled' : 'primary'],
userSelect: 'none',
}}
state={Chapters.getReaderOpenChapterLocationState(chapter, true)}
replace={mode === 'reader'}