[READ-ONLY] Mirror of https://github.com/mrgnw/zenfo.co.
Commits
Author
Commit
Message
Date
Prevents stretching on resize and reduces extreme cropping when portrait photos are shown on landscape viewports (and vice versa).
The shader now blends between cover (when orientations match) and contain (when they differ significantly), providing a smooth adaptive fit based on aspect ratio mismatch.
Prevents stretching on resize and reduces extreme cropping when portrait photos are shown on landscape viewports (and vice versa).
The shader now blends between cover (when orientations match) and contain (when they differ significantly), providing a smooth adaptive fit based on aspect ratio mismatch.