fix(ui): add select-none class to AvatarFallback component

This commit is contained in:
ShellWen
2026-02-23 04:19:53 +08:00
committed by 晨苒
parent 3a4f463dcc
commit 4a6172e7f1
@@ -14,7 +14,7 @@ const delegatedProps = reactiveOmit(props, 'class')
<AvatarFallback
data-slot="avatar-fallback"
v-bind="delegatedProps"
:class="cn('bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 flex size-full items-center justify-center rounded-full', props.class)"
:class="cn('bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 flex size-full items-center justify-center rounded-full select-none', props.class)"
>
<slot />
</AvatarFallback>