Prevent browser frame stretch on resize

Keep the live browser frame proportional while the viewer is being resized by using contain sizing instead of stretching the stale frame to the transient surface shape.

Update the regression guard so the viewer contract pins the proportional render path.
This commit is contained in:
Alessandro 2026-07-03 03:16:11 +02:00
parent 727a840e10
commit 277bcd0783
2 changed files with 2 additions and 2 deletions

View file

@ -999,7 +999,7 @@
height: 100%;
min-width: 0;
min-height: 0;
object-fit: fill;
object-fit: contain;
image-rendering: auto;
user-select: none;
background: #fff;