mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
The Button icon variant applies [&>svg]:size-icon-sm (18px) and the base applies [&>svg]:p-0.5, both of which silently override h-*/w-* set directly on child SVGs. This caused the stop icon to render at 18px instead of 12px and the send arrow to shift off-center due to uncleared padding. Pin each icon size via !important on the parent className so the values are deterministic regardless of Tailwind class order: - Attach: !size-icon-sm (18px, unchanged visual) - Stop: !size-3 (12px, matches original intent) - Send: !size-5 (20px, matches prior visual after padding) Add Streaming and StreamingInterruptPending stories for the stop button.