mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
fix(Avatar): render on SSR
Co-Authored-By: Sébastien Chopin <seb@nuxt.com>
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-(--ui-bg-elevated)',
|
||||
image: 'h-full w-full rounded-[inherit] object-cover data-[error]:hidden',
|
||||
image: 'h-full w-full rounded-[inherit] object-cover',
|
||||
fallback: 'font-medium leading-none text-(--ui-text-muted) truncate',
|
||||
icon: 'text-(--ui-text-muted) shrink-0'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user