fix(styles): keep style-editor scrollbar at the window's right edge

The detail-panel scrollables defaulted to shrink-to-content width, so
their vertical scrollbar landed in the middle of the panel next to the
content instead of at the window edge. Make the scrollables fill width
(and drop the dimstyle panel's right padding so the bar sits flush) in
the Dimension, Table and MLeader style editors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-06-03 20:48:40 +03:00
commit 578b8c5d64
3 changed files with 9 additions and 2 deletions

View file

@ -328,6 +328,7 @@ pub fn view_window<'a>(
.spacing(6)
.padding([12, 12]),
)
.width(Fill)
.height(Fill)
.into()
} else {