fix: the model selector's ... and Eject buttons show when you tab to them (#32604)

This commit is contained in:
G30 authored and GitHub committed 2026-10-21 02:19:07 +09:00
1 parent 60953f66a6
commit d4d5bc2ef5
2 files changed
+2 -2

No files matched your search

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