Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit d2217bb

Browse files
committed
fix: fix width and padding on agent select
- conditionally hide the role=presentation element because it was adding extra gap before the first agent
1 parent ac495bd commit d2217bb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/ui/src/components/select.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@
4747
overflow-x: hidden;
4848
display: flex;
4949
flex-direction: column;
50-
gap: 2px;
5150

5251
&:focus {
5352
outline: none;
5453
}
54+
55+
> *:not([role="presentation"]) + *:not([role="presentation"]) {
56+
margin-top: 2px;
57+
}
5558
}
5659

5760
/* [data-slot="select-section"] { */
@@ -62,6 +65,7 @@
6265
display: flex;
6366
align-items: center;
6467
padding: 0 6px 0 6px;
68+
gap: 12px;
6569
border-radius: var(--radius-sm);
6670

6771
/* text-12-medium */

0 commit comments

Comments
 (0)