From 03af5c9c0a91ef7bcb23b5c1b8161d7bfab2176a Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Sat, 14 Sep 2024 21:02:57 +0800 Subject: [PATCH 1/2] fix: Transaction style --- .changeset/fluffy-apes-float.md | 5 +++++ src/transaction/components/TransactionButton.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fluffy-apes-float.md diff --git a/.changeset/fluffy-apes-float.md b/.changeset/fluffy-apes-float.md new file mode 100644 index 0000000000..a0508a53f8 --- /dev/null +++ b/.changeset/fluffy-apes-float.md @@ -0,0 +1,5 @@ +--- +'@coinbase/onchainkit': minor +--- + +- **fix**: removed `mt-4` from ``, ensuring the primary component maintains a clean and consistent design without outer margin. diff --git a/src/transaction/components/TransactionButton.tsx b/src/transaction/components/TransactionButton.tsx index b96cb58d57..b0f0892703 100644 --- a/src/transaction/components/TransactionButton.tsx +++ b/src/transaction/components/TransactionButton.tsx @@ -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, From 02c96713ca8e9603ea1813bb49296bae52e6836d Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Sat, 14 Sep 2024 21:04:05 +0800 Subject: [PATCH 2/2] ok --- .changeset/fluffy-apes-float.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/fluffy-apes-float.md b/.changeset/fluffy-apes-float.md index a0508a53f8..b9505a498d 100644 --- a/.changeset/fluffy-apes-float.md +++ b/.changeset/fluffy-apes-float.md @@ -2,4 +2,4 @@ '@coinbase/onchainkit': minor --- -- **fix**: removed `mt-4` from ``, ensuring the primary component maintains a clean and consistent design without outer margin. +- **fix**: removed `mt-4` from ``, ensuring the primary component maintains a clean and consistent design without outer margin. By @zizzamia #1258