Skip to content

Commit

Permalink
chore: Increase Wallet dropdown SVG sizes to 18x18 (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer authored Aug 13, 2024
1 parent e8887bc commit 7d03bf3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .changeset/many-ravens-cry.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

-**chore**: Add testing to Transaction Toast. By @cpcramer #1023
-**chore**: Add Connect Wallet tests and refactor to use Vitest. By @cpcramer #1036
-**chore**: Increase Wallet dropdown png size to 18x18. By @cpcramer #1041
2 changes: 1 addition & 1 deletion src/wallet/components/WalletDropdownBaseName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function WalletDropdownBaseName({
target="_blank"
rel="noopener noreferrer"
>
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-4 w-4 items-center justify-center">
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-[1.125rem] w-[1.125rem] items-center justify-center">
{baseNameSvg}
</div>
<div className="flex w-full items-center pl-6">
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/components/WalletDropdownDisconnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function WalletDropdownDisconnect({
)}
onClick={handleDisconnect}
>
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-4 w-4 items-center justify-center">
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-[1.125rem] w-[1.125rem] items-center justify-center">
{disconnectSvg}
</div>
<span className={cn(dsText.body, 'pl-6')}>{text}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/components/WalletDropdownLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function WalletDropdownLink({
target={target}
rel={rel}
>
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-4 w-4 items-center justify-center">
<div className="-translate-y-1/2 absolute top-1/2 left-4 flex h-[1.125rem] w-[1.125rem] items-center justify-center">
{iconSvg}
</div>
<span className={cn(text.body, 'pl-6')}>{children}</span>
Expand Down

0 comments on commit 7d03bf3

Please sign in to comment.