fix(frame-card): cap portrait preview to 40dvh so cards stop dominating
CI / test (push) Has been cancelled
CI / test (push) Has been cancelled
Portrait frames (3:5 aspect) at full card width were rendering 600px tall and pushing the body well off-screen. Cap preview max-height at 40dvh and switch the img sizing to max-width/max-height: 100% with auto width/height — photo scales to fit inside the capped preview at its native aspect, with narrow grey side bars filling the leftover horizontal space. Landscape frames are short enough that the cap never engages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user