Skip to content

Commit

Permalink
update WithAvatarBadge
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 9, 2024
1 parent d06e326 commit 7e9fda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
9 changes: 0 additions & 9 deletions src/identity/components/WithAvatarBadge.css

This file was deleted.

6 changes: 3 additions & 3 deletions src/identity/components/WithAvatarBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ function WithAvatarBadgeInner({ children, address }: WithAvatarBadgeInnerReact)
schemaId: onchainKitContext?.schemaId,
});
return (
<div className="ock-withavatarbadge-container" data-testid="ockAvatarBadgeContainer">
<div className="relative h-8 w-8" data-testid="ockAvatarBadgeContainer">
{children}
{attestations && attestations[0] && (
<div className="ock-withavatarbadge-badge">
<div className="ock-withavatarbadge-inner">
<div className="absolute -bottom-0.5 -right-0.5 flex h-[15px] w-[15px] items-center justify-center rounded-full bg-transparent">
<div className="flex h-[11px] w-[11px] items-center justify-center">
<Badge />
</div>
</div>
Expand Down

0 comments on commit 7e9fda5

Please sign in to comment.