Skip to content

Commit 5ffd4e5

Browse files
authored
fix(ui): prevent long default group name from overflowing admin settings layout (open-webui#25685)
1 parent 4fa3a74 commit 5ffd4e5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/lib/components/admin/Settings/Authentication.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@
135135

136136
<div class=" mb-2.5 flex w-full justify-between">
137137
<div class=" self-center text-xs font-medium">{$i18n.t('Default Group')}</div>
138-
<div class="flex items-center relative">
138+
<div class="flex items-center relative max-w-48">
139139
<select
140-
class="w-fit pr-8 rounded-sm px-2 text-xs bg-transparent outline-hidden text-right"
140+
class="w-full pr-8 rounded-sm px-2 text-xs bg-transparent outline-hidden text-right truncate"
141141
bind:value={adminConfig.DEFAULT_GROUP_ID}
142142
placeholder={$i18n.t('Select a group')}
143143
>

src/lib/components/admin/Settings/General.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
</div>
239239
</div>
240240

241-
<div class="mb-3">
241+
<div class="mb-3">
242242
<div class=" mt-0.5 mb-2.5 text-base font-medium">{$i18n.t('Features')}</div>
243243

244244
<hr class=" border-gray-100/30 dark:border-gray-850/30 my-2" />

0 commit comments

Comments
 (0)