fix: breadcrumb dropdown position left aligned

This commit is contained in:
David Hill 2025-12-16 17:01:26 +00:00
parent 53f20f7612
commit 9c26bb7c6c
2 changed files with 1 additions and 1 deletions

View file

@ -37,7 +37,6 @@
}
[data-slot="select-select-content-list"] {
min-height: 2rem;
overflow-y: auto;
max-height: 12rem;
white-space: nowrap;

View file

@ -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))}