mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The wrapper used inline-block for tools without overlay children (e.g. border). CSS maxHeight: 100% on the img inside an inline-block parent without explicit height does not resolve, so tall images rendered at natural height and got clipped by overflow: hidden. Unify both code paths to always use inline-flex + column, where the flex item properly shrinks within the container's maxHeight constraint.