mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 23:15:18 +00:00
fix(app): select model anchor
This commit is contained in:
parent
27bb82761b
commit
19c7874493
1 changed files with 5 additions and 7 deletions
|
|
@ -176,13 +176,11 @@ export function ModelSelectorPopover<T extends ValidComponent = "div">(props: {
|
|||
placement="top-start"
|
||||
gutter={8}
|
||||
>
|
||||
<Kobalte.Trigger
|
||||
ref={(el) => setStore("trigger", el)}
|
||||
as={props.triggerAs ?? "div"}
|
||||
{...(props.triggerProps as any)}
|
||||
>
|
||||
{props.children}
|
||||
</Kobalte.Trigger>
|
||||
<Kobalte.Anchor ref={(el) => setStore("trigger", el)} as="div" class="inline-flex">
|
||||
<Kobalte.Trigger as={props.triggerAs ?? "div"} {...(props.triggerProps as any)}>
|
||||
{props.children}
|
||||
</Kobalte.Trigger>
|
||||
</Kobalte.Anchor>
|
||||
<Kobalte.Portal>
|
||||
<Kobalte.Content
|
||||
ref={(el) => setStore("content", el)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue