mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55: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}
|
aria-label={placeholder}
|
||||||
id="model-selector-{id}-button"
|
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 ??
|
class="flex w-full text-left px-0.5 bg-transparent truncate {triggerClassName} justify-between font-medium {($settings?.highContrastMode ??
|
||||||
false)
|
false)
|
||||||
? 'dark:placeholder-gray-100 placeholder-gray-800'
|
? 'dark:placeholder-gray-100 placeholder-gray-800'
|
||||||
|
|
@ -365,7 +365,6 @@
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
type="button"
|
|
||||||
>
|
>
|
||||||
{#if selectedModel}
|
{#if selectedModel}
|
||||||
{selectedModel.label}
|
{selectedModel.label}
|
||||||
|
|
@ -373,7 +372,7 @@
|
||||||
{placeholder}
|
{placeholder}
|
||||||
{/if}
|
{/if}
|
||||||
<ChevronDown className=" self-center ml-2 size-3" strokeWidth="2.5" />
|
<ChevronDown className=" self-center ml-2 size-3" strokeWidth="2.5" />
|
||||||
</button>
|
</div>
|
||||||
</DropdownMenu.Trigger>
|
</DropdownMenu.Trigger>
|
||||||
|
|
||||||
<DropdownMenu.Content
|
<DropdownMenu.Content
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue