Concentric (A2): the items hand-rolled `calc(--radius-md − space)` = 2px, using radius-md as the outer instead of the panel radius — a latent bug (the comment claimed "panel radius − inset"). Adopt `[data-shape-nest]`: the panel exposes --shape-outer-radius (FIXED `lg`, so items stay 6px in BOTH the inline palette and inside <Command.Dialog> — they aren't at the dialog's corner, so they must not inflate to the dialog radius) + --shape-nest-gap. Items 2px → 6px (truly concentric), verified inline + in-dialog. Command-dialog layout (reported as broken): - Options were inset LESS than the input (list padding-inline space-1=4 vs input margin space-2=8) → misaligned. List inset → space-2: the input box + option pills now share one left/right edge (measured: both at x=187). - The floating top-right close OVERLAPPED the input — the old reserve cleared only the input TEXT (padding-inline-end), not the box. Clear the BOX instead (margin-inline-end = close inset + size + gap) so the close sits in the gap to the right (measured: input ends 689, close starts 691 — no overlap). Verified by DOM measurement (rects + computed radius). Screenshot omitted: the modal's 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
4aea4b8121
commit
eb9f2fddd3
Loading…
Reference in new issue