Skip to content

Commit

Permalink
Merge pull request #33 from zCloak-Network/feat-user-valided-tip
Browse files Browse the repository at this point in the history
refactor(verifier): improve layout of Twitter icon on UserCard
  • Loading branch information
tower1229 authored Nov 18, 2024
2 parents f1ffd9b + f1ac7e8 commit 503ae4d
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/app/sign/verifier/UserCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,18 @@ export default function UserCard(props: {
}
</div>

{hasBindTwitter ? (
<a
className="border-none bg-gray-600 btn btn-circle btn-xs"
onClick={() =>
window.open(`https://twitter.com/${hasBindTwitter}`)
}
>
<XIcon />
</a>
) : null}
<div className="flex w-full gap-2">
{hasBindTwitter ? (
<a
className="border-none bg-gray-600 btn btn-circle btn-xs"
onClick={() =>
window.open(`https://twitter.com/${hasBindTwitter}`)
}
>
<XIcon />
</a>
) : null}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 503ae4d

Please sign in to comment.