mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-03 13:47:55 +01:00
fix(Avatar): handle loading manually to support @nuxt/image
Resolves nuxt/ui-pro#727
This commit is contained in:
@@ -5,7 +5,7 @@ exports[`Separator > renders with as correctly 1`] = `"<span data-orientation="h
|
||||
exports[`Separator > renders with avatar correctly 1`] = `
|
||||
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
|
||||
<div class="border-[var(--ui-border)] w-full border-solid border-t"></div>
|
||||
<div class="font-medium text-[var(--ui-text)] flex mx-3 whitespace-nowrap"><span class="inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-[var(--ui-bg-elevated)] size-5 text-[10px] shrink-0"><img role="img" src="https://github.com/benjamincanac.png" width="20" height="20" class="h-full w-full rounded-[inherit] object-cover" style="display: none;"><span class="font-medium leading-none text-[var(--ui-text-muted)] truncate"> </span></span></div>
|
||||
<div class="font-medium text-[var(--ui-text)] flex mx-3 whitespace-nowrap"><span class="inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-[var(--ui-bg-elevated)] size-5 text-[10px] shrink-0"><img role="img" src="https://github.com/benjamincanac.png" width="20" height="20" class="h-full w-full rounded-[inherit] object-cover data-[error]:hidden" style="display: none;"><span class="font-medium leading-none text-[var(--ui-text-muted)] truncate"> </span></span></div>
|
||||
<div class="border-[var(--ui-border)] w-full border-solid border-t"></div>
|
||||
</div>"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user