disable zoom

This commit is contained in:
Chuck Dries 2022-07-25 20:39:43 -07:00
parent 187b8f7b23
commit fa4992627d
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -190,10 +190,10 @@ const GalleryImage = ({ data, location: { state } }) => {
<div className={classnames("pb-2 flex", orientationClasses)}>
<div
className={classnames(
zoom ? "cursor-zoom-out" : "cursor-zoom-in",
// zoom ? "cursor-zoom-out" : "cursor-zoom-in",
"mb-2 self-center"
)}
onClick={() => setZoom((_zoom) => !_zoom)}
// onClick={() => setZoom((_zoom) => !_zoom)}
style={{
maxWidth: `calc(max(calc(100vh - ${verticalPad}), 500px) * ${ar})`,
}}