From d2217bb825639da0848a0397b187805554696cf7 Mon Sep 17 00:00:00 2001 From: David Hill Date: Mon, 15 Dec 2025 14:05:24 +0000 Subject: [PATCH] fix: fix width and padding on agent select - conditionally hide the role=presentation element because it was adding extra gap before the first agent --- packages/ui/src/components/select.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/select.css b/packages/ui/src/components/select.css index 96ddf174c..8d0ce44fd 100644 --- a/packages/ui/src/components/select.css +++ b/packages/ui/src/components/select.css @@ -47,11 +47,14 @@ overflow-x: hidden; display: flex; flex-direction: column; - gap: 2px; &:focus { outline: none; } + + > *:not([role="presentation"]) + *:not([role="presentation"]) { + margin-top: 2px; + } } /* [data-slot="select-section"] { */ @@ -62,6 +65,7 @@ display: flex; align-items: center; padding: 0 6px 0 6px; + gap: 12px; border-radius: var(--radius-sm); /* text-12-medium */