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"] {
|
[data-slot="select-select-content-list"] {
|
||||||
min-height: 2rem;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-height: 12rem;
|
max-height: 12rem;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ export function Select<T>(props: SelectProps<T> & ButtonProps) {
|
||||||
<Kobalte<T, { category: string; options: T[] }>
|
<Kobalte<T, { category: string; options: T[] }>
|
||||||
{...others}
|
{...others}
|
||||||
data-component="select"
|
data-component="select"
|
||||||
|
placement="bottom-start"
|
||||||
value={local.current}
|
value={local.current}
|
||||||
options={grouped()}
|
options={grouped()}
|
||||||
optionValue={(x) => (local.value ? local.value(x) : (x as string))}
|
optionValue={(x) => (local.value ? local.value(x) : (x as string))}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue