mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
remove nested buttons, as this is not valid html
This commit is contained in:
parent
e5435c6480
commit
bed2c7e34f
1 changed files with 2 additions and 3 deletions
|
|
@ -352,7 +352,7 @@
|
|||
aria-label={placeholder}
|
||||
id="model-selector-{id}-button"
|
||||
>
|
||||
<button
|
||||
<div
|
||||
class="flex w-full text-left px-0.5 bg-transparent truncate {triggerClassName} justify-between font-medium {($settings?.highContrastMode ??
|
||||
false)
|
||||
? 'dark:placeholder-gray-100 placeholder-gray-800'
|
||||
|
|
@ -365,7 +365,6 @@
|
|||
)
|
||||
);
|
||||
}}
|
||||
type="button"
|
||||
>
|
||||
{#if selectedModel}
|
||||
{selectedModel.label}
|
||||
|
|
@ -373,7 +372,7 @@
|
|||
{placeholder}
|
||||
{/if}
|
||||
<ChevronDown className=" self-center ml-2 size-3" strokeWidth="2.5" />
|
||||
</button>
|
||||
</div>
|
||||
</DropdownMenu.Trigger>
|
||||
|
||||
<DropdownMenu.Content
|
||||
|
|
|
|||
Loading…
Reference in a new issue