Commit graph

6 commits

Author SHA1 Message Date
Aditya Gaurav
3c77c724c5
fix(web): Ensure profile picture is cropped to 1:1 ratio (#25892)
* fix(web): Ensure profile picture is cropped to 1:1 ratio

Fixes #20097

The profile picture was being captured from the PhotoViewer element
which could have non-square dimensions based on the original image.

Changed to capture from the crop container element which has the
aspect-square class, ensuring the output is always 1:1 ratio.

* fix: remove trailing whitespace to pass prettier check

---------

Co-authored-by: Aditya Gaurav <aditya-ai-architect@users.noreply.github.com>
2026-02-05 11:45:06 -06:00
Jason Rasmussen
1e4af9731d
refactor: modals (#25163) 2026-01-09 15:05:20 -05:00
Min Idzelis
78229baeab
feat: improve asset-viewer next/prev perf and standardize preloading behavior (#24422)
Co-authored-by: Alex <alex.tran1502@gmail.com>
2026-01-07 21:17:12 +01:00
Daniel Dietzler
f5d7e5acca
chore: cannonical tailwind classes (#23427) 2025-10-31 11:38:17 -04:00
Jason Rasmussen
52596255c8
feat: toasts (#23298) 2025-10-28 14:09:11 -05:00
Daniel Dietzler
373b654156
chore: migrate profile picture cropper modal (#19378) 2025-06-20 18:16:10 +00:00
Renamed from web/src/lib/components/shared-components/profile-image-cropper.svelte (Browse further)