mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): Set as default in the model picker is at least 24 pixels tall when Accessibility Mode is on (#32907)
This commit is contained in:
parent
b2108518e7
commit
17065714bc
1 changed files with 9 additions and 2 deletions
|
|
@ -1278,10 +1278,17 @@
|
|||
</div>
|
||||
|
||||
{#if showSetDefault}
|
||||
<div class="flex shrink-0 items-center justify-end px-2 py-1 leading-none">
|
||||
<div
|
||||
class="flex shrink-0 items-center justify-end px-2 leading-none {($settings?.highContrastMode ??
|
||||
false)
|
||||
? ''
|
||||
: 'py-1'}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="focus-ring text-[0.65rem] font-normal leading-none text-gray-500 underline-offset-2 transition-colors duration-100 hover:text-gray-700 hover:underline dark:text-gray-500 dark:hover:text-gray-300"
|
||||
class="focus-ring {($settings?.highContrastMode ?? false)
|
||||
? 'inline-flex min-h-6 items-center'
|
||||
: ''} text-[0.65rem] font-normal leading-none text-gray-500 underline-offset-2 transition-colors duration-100 hover:text-gray-700 hover:underline dark:text-gray-500 dark:hover:text-gray-300"
|
||||
on:click|stopPropagation={setDefaultHandler}
|
||||
>
|
||||
{$i18n.t('Set as default')}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue