Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Increase lightbox max zoom from 6x to 10x

Abi Raja1a34a56b6776
diff --git a/frontend/src/components/ImageLightbox.tsx b/frontend/src/components/ImageLightbox.tsx
index dec5805c..01bfed07 100644
--- a/frontend/src/components/ImageLightbox.tsx
+++ b/frontend/src/components/ImageLightbox.tsx
@@ -3,7 +3,7 @@ import { LuMinus, LuPlus, LuX } from "react-icons/lu";
import { Dialog, DialogPortal, DialogOverlay } from "./ui/dialog";
const MIN_ZOOM = 0.5;
-const MAX_ZOOM = 6;
+const MAX_ZOOM = 10;
const DEFAULT_DISPLAY_WIDTH = 1000;
interface ImageLightboxProps {