When styling interactive UI (tabs, drawers, dialogs), ensure layout decisions remain usable under constrained sizes and keep implementation consistent with shared UI primitives.
min-w-0 to wrappers and truncate (ellipsis) to the label region, so controls like “+”/hide remain clickable.Example pattern:
<div className="flex h-9 items-end gap-1">
<div className="flex min-w-0 items-end gap-0.5">
<div className="min-w-0 truncate">Very long label…</div>
</div>
<button type="button">+</button>
<button type="button">Hide</button>
</div>
max-h-[calc(100dvh-2rem)]) and enable internal scrolling so key actions remain reachable.lucide-react named icons with consistent props) rather than mixing in ad-hoc inline SVGs, so code review can reliably confirm icon consistency.