Files
multica/packages/views/common/task-transcript
hanshou101 346f441b3b fix(views): keep the step inspector reachable on phones (#9484)
The run dialog is `calc(100vw - 4rem)` wide, while the step inspector is a
fixed 26rem pane that never shrinks. On a phone the pane is wider than the
dialog, so it spills past the dialog's `overflow-hidden` box - and its close
button spills with it. The reader can open a step but has no control that
returns to the step list, because the list is squeezed to zero width and the
only way out is clipped off-screen.

Let the pane fill the row below `md`, where the list has no room to share
anyway, and keep the 26rem side pane from `md` up.

Verified in a real browser at 390/443/768/1440px: the close button is inside
the dialog at every width and tapping it brings the list back; the 768px and
1440px layouts are unchanged (list 288px/608px next to the 416px pane).
2026-10-26 17:06:48 +08:00
..