- Shipped
- April 12, 2026 at 7:18 PM UTC
- Author
- kamo
- Commit
- f966663
Two bugs in ThumbnailCanvas: 1. Replaced `height: \`${displayAspect * 100}%\`` (percentage height on abs- positioned element — unreliable when containing block height comes from padding-top) with `aspectRatio: String(baseAspect)` so the browser derives height from the explicitly-set width. Width is now `baseAspect * 100%` of containerWidth, giving the portrait CSS box (H × W) needed to fill the landscape container after rotation. 2. Removed `transform` from thumbFadeIn keyframes. CSS animations override inline styles for the same property, so animating `transform: scale(...)` was clobbering the inline `transform: translate(-50%,-50%) rotate(Ndeg)` once the image loaded, causing the rotation to disappear and the image to jump.