mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: fix width and padding on agent select
- conditionally hide the role=presentation element because it was adding extra gap before the first agent
This commit is contained in:
parent
ac495bd351
commit
d2217bb825
1 changed files with 5 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue