Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Add rounded-full style to chain logo in ChainSwitch
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Aug 8, 2024
1 parent 02f28b5 commit 9b9cd62
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/components/header/chain-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ export default function ChainSwitch() {
>
{currentChain ? (
<>
<Image alt="Chain logo" width={24} height={24} src={getChainLogo(currentChain.logo)} />
<Image
alt="Chain logo"
width={24}
height={24}
src={getChainLogo(currentChain.logo)}
className="rounded-full"
/>
<span className="text-sm font-light">{currentChain.name}</span>
<Image
src="/images/caret-down.svg"
Expand Down Expand Up @@ -97,7 +103,13 @@ export default function ChainSwitch() {
setIsOpen(false);
}}
>
<Image alt="Chain logo" width={24} height={24} src={getChainLogo(option.logo)} />
<Image
alt="Chain logo"
width={24}
height={24}
src={getChainLogo(option.logo)}
className="rounded-full"
/>
<span className="text-sm font-light">{getChainConfig(option.chainId).name}</span>
</button>
))}
Expand Down

0 comments on commit 9b9cd62

Please sign in to comment.