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

This commit is contained in:
G30 2026-10-20 13:19:07 -04:00 • committed by GitHub
parent 60953f66a6
commit d4d5bc2ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

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