Files
SnowLuma/packages
DrSmoothl 593f5f42bc fix(ui): Dialog and Select no longer overflow at narrow widths
CSS grid's default `min-width: auto` per track was letting long
selected-option text and file paths inside dialogs push the container
past its `max-w-lg` cap, which on Windows / smaller viewports clipped
the right edge of inputs and the Select chevron.

- DialogContent / AlertDialogContent: `grid-cols-[minmax(0,1fr)]` clamps
  the single track to its container width; `w-[calc(100%-2rem)]` keeps
  a 1 rem gutter to the viewport edge on small screens.
- SelectTrigger: `min-w-0` on the trigger itself plus a child-targeted
  truncate (`[&>span:not([data-radix-select-icon])]:truncate`) so the
  selected text shrinks before the chevron does; chevron gets `shrink-0`
  for the same reason.
2026-05-17 14:24:09 +08:00
..
2026-05-15 23:17:44 +08:00
2026-05-15 23:17:44 +08:00