mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
fix(Avatar): handle loading manually to support @nuxt/image
Resolves nuxt/ui-pro#727
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
slots: {
|
||||
root: 'inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-[var(--ui-bg-elevated)]',
|
||||
image: 'h-full w-full rounded-[inherit] object-cover',
|
||||
image: 'h-full w-full rounded-[inherit] object-cover data-[error]:hidden',
|
||||
fallback: 'font-medium leading-none text-[var(--ui-text-muted)] truncate',
|
||||
icon: 'text-[var(--ui-text-muted)] shrink-0'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user