Add zoom functionality to view original images in the media library

Adds a zoom icon to each image in the media library, opening a modal to display the original image. Also includes a state variable and dialog component for the zoom functionality.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/RUoRc2A
This commit is contained in:
michaelschal committed 2025-10-11 11:03:56 +00:00
1 parent 4f678bd3ea
commit a4686ab588
2 files changed
+47 -13

No files matched your search

+1 -1
View File
@@ -573,7 +573,7 @@ export default function ImageEditor() {
value={[priceBadge.size]}
onValueChange={(value) => setPriceBadge({ ...priceBadge, size: value[0] })}
min={12}
max={40}
max={70}
step={1}
data-testid="slider-price-size"
/>