mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-09 17:08:29 +00:00
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:
parent
727a840e10
commit
277bcd0783
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue