Refine the command-dialog close per review: - Solid primary → `variant="ghost" color="neutral"` — a subtle borderless gray X instead of a loud solid purple button. - The input cleared the close by `--dialog-close-size` (a glyph token that under-measured the button) → only a 2px gap. Use `--control-height-md` (the close's real IconButton footprint) → 4px to the button + ghost padding. - The floating close inherited the dialog's top inset (tuned for a title row) → 5px below the input's center. Override its top to space-2 → centered on the input row (1px offset). Verified by measurement: ghost transparent bg · neutral gray X (chroma 0) · gap 4px · vOffset 1px · no overlap. Screenshot omitted — the modal backdrop-filter hangs the headless capture (preview infra), the layout computes cleanly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>active-uix
parent
c568b4df6c
commit
67d419f839
Loading…
Reference in new issue