Commit dc5cfa7
committed
Preserve original aspect ratio for uploaded photos
- Removed aspect-square constraint to allow natural image proportions
- Changed object-cover to object-contain to show full image without cropping
- Added min-h-[150px] and max-h-[300px] for reasonable height bounds
- Added flex centering to properly align images within container
Photos now display their full content with original aspect ratio while maintaining the responsive card grid layout.1 parent c197d6d commit dc5cfa7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments