mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: breadcrumb dropdown position left aligned
This commit is contained in:
parent
53f20f7612
commit
9c26bb7c6c
2 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,6 @@
|
|||
}
|
||||
|
||||
[data-slot="select-select-content-list"] {
|
||||
min-height: 2rem;
|
||||
overflow-y: auto;
|
||||
max-height: 12rem;
|
||||
white-space: nowrap;
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ export function Select<T>(props: SelectProps<T> & ButtonProps) {
|
|||
<Kobalte<T, { category: string; options: T[] }>
|
||||
{...others}
|
||||
data-component="select"
|
||||
placement="bottom-start"
|
||||
value={local.current}
|
||||
options={grouped()}
|
||||
optionValue={(x) => (local.value ? local.value(x) : (x as string))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue