mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
fix: the model selector's ... and Eject buttons show when you tab to them (#32604)
This commit is contained in:
parent
60953f66a6
commit
d4d5bc2ef5
2 changed files with 2 additions and 2 deletions
|
|
@ -285,7 +285,7 @@
|
|||
{#if !selectionOnly && $user?.role === 'admin' && item.model.loaded}
|
||||
<Tooltip
|
||||
content={`${$i18n.t('Eject')}`}
|
||||
className="flex-shrink-0 group-hover/item:opacity-100 opacity-0 "
|
||||
className="flex-shrink-0 group-hover/item:opacity-100 group-focus-within/item:opacity-100 opacity-0 "
|
||||
>
|
||||
<button
|
||||
class="focus-ring flex"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
content={$i18n.t('More')}
|
||||
className={($settings?.highContrastMode ?? false)
|
||||
? ''
|
||||
: 'group-hover/item:opacity-100 opacity-0'}
|
||||
: 'group-hover/item:opacity-100 group-focus-within/item:opacity-100 opacity-0'}
|
||||
>
|
||||
<slot />
|
||||
</Tooltip>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue