mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-12 23:02:35 +00:00
fix: keep the select chevron clear of the text in shrink-to-fit selects (#29866)
This commit is contained in:
parent
8383bc708c
commit
5b0f8a73ca
3 changed files with 4 additions and 4 deletions
|
|
@ -625,7 +625,7 @@
|
|||
<select
|
||||
id="provider-select"
|
||||
bind:value={provider}
|
||||
class="text-xs text-gray-700 dark:text-gray-300 bg-transparent outline-hidden"
|
||||
class="text-xs text-gray-700 dark:text-gray-300 bg-transparent pr-5 outline-hidden"
|
||||
>
|
||||
<option value="">{$i18n.t('Default')}</option>
|
||||
<option value="azure">{$i18n.t('Azure OpenAI')}</option>
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
<div class="flex items-center gap-2 p-1">
|
||||
<select
|
||||
class="text-sm bg-transparent outline-hidden rounded-lg px-2"
|
||||
class="text-sm bg-transparent outline-hidden rounded-lg pl-2 pr-5"
|
||||
value={data?.config?.share ?? 'members'}
|
||||
on:change={(e) => {
|
||||
const value = e.target.value;
|
||||
|
|
|
|||
|
|
@ -609,7 +609,7 @@
|
|||
{#if accessRoles.includes('write')}
|
||||
<select
|
||||
aria-label={$i18n.t('Access level')}
|
||||
class="bg-transparent text-sm outline-none"
|
||||
class="bg-transparent text-sm outline-none pr-5"
|
||||
value={writeGroupIds.includes(group.id) ? 'write' : 'read'}
|
||||
on:change={(e) => {
|
||||
if (
|
||||
|
|
@ -663,7 +663,7 @@
|
|||
{#if accessRoles.includes('write')}
|
||||
<select
|
||||
aria-label={$i18n.t('Access level')}
|
||||
class="bg-transparent text-sm outline-none"
|
||||
class="bg-transparent text-sm outline-none pr-5"
|
||||
value={writeUserIds.includes(user.id) ? 'write' : 'read'}
|
||||
on:change={(e) => {
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue