Commit 06be58e
committed
fix(preview): drop double scrollbar in workspace
The outer <div className="relative flex-1 overflow-auto"> wrapping the
preview body was creating a second scroll track on top of whichever
scroll lives inside the body variant:
- mobile / tablet body already has its own overflow-auto
- desktop body is an iframe with intrinsic scrolling
The outer only needs to be a positioned parent for the absolutely
positioned TweakPanel, so switching to overflow-hidden removes the
redundant track without breaking Tweak drag bounds.1 parent b84c022 commit 06be58e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
0 commit comments