fix: keep the select chevron clear of the text in shrink-to-fit selects (#29866)

This commit is contained in:
G30 2026-09-09 16:22:00 -04:00 committed by GitHub
parent 8383bc708c
commit 5b0f8a73ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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;

View file

@ -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 (