fix: don't hide horizontal scroll bar at the bottom, closes #570 (#599)

This commit is contained in:
Huang Xin
2025-03-14 00:45:41 +08:00
committed by GitHub
parent 4452f0b810
commit 08f348ada5
@@ -75,7 +75,10 @@ const FooterBar: React.FC<FooterBarProps> = ({
return (
<>
<div
className='absolute bottom-0 left-0 z-10 h-12 w-full'
className={clsx(
'absolute bottom-0 left-0 z-10 h-12 w-full',
viewSettings?.vertical && viewSettings?.scrolled ? 'bottom-3 !h-6' : '',
)}
onMouseEnter={() => !appService?.isMobile && setHoveredBookKey(bookKey)}
onTouchStart={() => !appService?.isMobile && setHoveredBookKey(bookKey)}
/>