Fix mobile progress bar previous/next chapter button hover/disabled visibility

This commit is contained in:
schroda
2026-05-12 14:36:04 +02:00
parent 9e34afbd5d
commit 17ecb7da27
2 changed files with 13 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- (**Reader**) Fix scrollbar appearing with "fit to widt/height/screen" page scale mode and applied safe area insets
- (**Reader**) Fix wrongly positioned mobile progress bar current page indicator
- (**Reader**) Fix mobile progress bar previous/next chapter button visibility on hover and while disabled
## [20260509.01] (r3147) - 2026-05-09

View File

@@ -255,6 +255,12 @@ const BaseMobileReaderProgressBar = ({
sx={{
backgroundColor: (theme) => theme.alpha(theme.palette.background.paper, 0.85),
boxShadow: 2,
'&:hover': {
backgroundColor: 'background.paper',
},
'&:disabled': {
backgroundColor: (theme) => theme.alpha(theme.palette.background.paper, 0.85),
},
}}
>
{getOptionForDirection(
@@ -328,6 +334,12 @@ const BaseMobileReaderProgressBar = ({
sx={{
backgroundColor: (theme) => theme.alpha(theme.palette.background.paper, 0.85),
boxShadow: 2,
'&:hover': {
backgroundColor: 'background.paper',
},
'&:disabled': {
backgroundColor: (theme) => theme.alpha(theme.palette.background.paper, 0.85),
},
}}
>
{getOptionForDirection(