Skip to content

Commit

Permalink
fix: Fund and Disconnect hover styling in mobile (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer authored Sep 5, 2024
1 parent 63742da commit 5afc2be
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-dolls-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@coinbase/onchainkit': patch
---

-**fix**: fixed hover styling for the Fund and Disconnect wallet components during the mobile view. By @cpcramer #1211
2 changes: 1 addition & 1 deletion playground/nextjs-app-router/components/demo/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function SwapComponent() {
</div>
) : null}

<Swap className="border bg-[#ffffff]" onStatus={handleOnStatus}>
<Swap className="border" onStatus={handleOnStatus}>
<SwapAmountInput
label="Sell"
swappableTokens={swappableTokens}
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 @@ -19,7 +19,7 @@ export function WalletDropdownDisconnect({
type="button"
className={cn(
pressable.default,
'relative flex items-center px-4 pt-3 pb-4',
'relative flex w-full items-center px-4 pt-3 pb-4',
className,
)}
onClick={handleDisconnect}
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/components/WalletDropdownFundLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function WalletDropdownFundLink({

const overrideClassName = cn(
pressable.default,
'relative flex items-center px-4 py-3',
'relative flex items-center px-4 py-3 w-full',
className,
);

Expand Down

0 comments on commit 5afc2be

Please sign in to comment.