diff options
| author | David Hill <[email protected]> | 2025-12-15 14:05:24 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2025-12-15 14:05:24 +0000 |
| commit | d2217bb825639da0848a0397b187805554696cf7 (patch) | |
| tree | a1d0094c01cec8f040e8c73957a45b59706d483f /packages/ui/src/components/select.css | |
| parent | ac495bd351f55a6dd36a3906317c6ac1f2313fdc (diff) | |
| download | opencode-d2217bb825639da0848a0397b187805554696cf7.tar.gz opencode-d2217bb825639da0848a0397b187805554696cf7.zip | |
fix: fix width and padding on agent select
- conditionally hide the role=presentation element because it was adding extra gap before the first agent
Diffstat (limited to 'packages/ui/src/components/select.css')
| -rw-r--r-- | packages/ui/src/components/select.css | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |
