Skip to content

Commit

Permalink
fix: Transaction style (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Sep 15, 2024
1 parent fdeba9c commit 7e18c98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fluffy-apes-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@coinbase/onchainkit': minor
---

- **fix**: removed `mt-4` from `<TransactionButton>`, ensuring the primary component maintains a clean and consistent design without outer margin. By @zizzamia #1258
2 changes: 1 addition & 1 deletion src/transaction/components/TransactionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function TransactionButton({
className={cn(
pressable.primary,
'w-full rounded-xl',
'mt-4 px-4 py-3 font-medium text-base text-white leading-6',
'px-4 py-3 font-medium text-base text-white leading-6',
isDisabled && pressable.disabled,
text.headline,
className,
Expand Down

0 comments on commit 7e18c98

Please sign in to comment.