feat: no vertical swipe on reader

This commit is contained in:
Julien Froidefond
2025-02-16 22:47:52 +01:00
parent 4761b47198
commit a4b52a1ee8
2 changed files with 5 additions and 1 deletions

View File

@@ -150,7 +150,7 @@ export function BookReader({ book, pages, onClose }: BookReaderProps) {
);
return (
<div className="fixed inset-0 bg-background/95 backdrop-blur-sm z-50">
<div className="fixed inset-0 bg-background/95 backdrop-blur-sm z-50 overflow-hidden touch-none">
<div
className="relative h-full flex flex-col items-center justify-center"
onClick={() => setShowControls(!showControls)}