mirror of
https://github.com/open-webui/open-webui
synced 2025-02-20 12:00:22 +00:00
fix: styling
This commit is contained in:
parent
8fcb5cee66
commit
dcd32faa83
@ -130,8 +130,10 @@
|
|||||||
bind:value={tab}
|
bind:value={tab}
|
||||||
placeholder="Select"
|
placeholder="Select"
|
||||||
>
|
>
|
||||||
<option value="tools">{$i18n.t('Tools')}</option>
|
<option value="tools" class="bg-gray-100 dark:bg-gray-800">{$i18n.t('Tools')}</option>
|
||||||
<option value="functions">{$i18n.t('Functions')}</option>
|
<option value="functions" class="bg-gray-100 dark:bg-gray-800"
|
||||||
|
>{$i18n.t('Functions')}</option
|
||||||
|
>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -144,20 +146,20 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{#if tab === 'tools'}
|
{#if tab === 'tools'}
|
||||||
<option value="" selected disabled class="bg-gray-100 dark:bg-gray-700"
|
<option value="" selected disabled class="bg-gray-100 dark:bg-gray-800"
|
||||||
>{$i18n.t('Select a tool')}</option
|
>{$i18n.t('Select a tool')}</option
|
||||||
>
|
>
|
||||||
|
|
||||||
{#each $tools as tool, toolIdx}
|
{#each $tools as tool, toolIdx}
|
||||||
<option value={tool.id} class="bg-gray-100 dark:bg-gray-700">{tool.name}</option>
|
<option value={tool.id} class="bg-gray-100 dark:bg-gray-800">{tool.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
{:else if tab === 'functions'}
|
{:else if tab === 'functions'}
|
||||||
<option value="" selected disabled class="bg-gray-100 dark:bg-gray-700"
|
<option value="" selected disabled class="bg-gray-100 dark:bg-gray-800"
|
||||||
>{$i18n.t('Select a function')}</option
|
>{$i18n.t('Select a function')}</option
|
||||||
>
|
>
|
||||||
|
|
||||||
{#each $functions as func, funcIdx}
|
{#each $functions as func, funcIdx}
|
||||||
<option value={func.id} class="bg-gray-100 dark:bg-700">{func.name}</option>
|
<option value={func.id} class="bg-gray-100 dark:bg-gray-800">{func.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user