From 423ff76644e12c34eff2aac7126b9187b2c7dedd Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 2 Jul 2023 15:50:55 +0800 Subject: [PATCH 1/3] feat(dropdown): adjust styling --- src/components/Toggle.tsx | 4 +++- src/layouts/DropdownMenu.tsx | 2 +- src/layouts/Header.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Toggle.tsx b/src/components/Toggle.tsx index 5e4c59dc..a4198218 100644 --- a/src/components/Toggle.tsx +++ b/src/components/Toggle.tsx @@ -12,7 +12,9 @@ const Toggle: FC = ({ toggleText, active, toggleFn }) => { return (
-
{toggleText} 
+
+ {toggleText}  +
((_, ref) => { return (
diff --git a/src/layouts/Header.tsx b/src/layouts/Header.tsx index c704f434..e6c991bd 100644 --- a/src/layouts/Header.tsx +++ b/src/layouts/Header.tsx @@ -49,7 +49,7 @@ const Header: FC = () => { {showDropdown && }
From fdcdc136dd27bf74ac545470bf7f2fe1debb6567 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Sun, 2 Jul 2023 16:05:26 +0800 Subject: [PATCH 2/3] feat(transaction): adjust styling --- src/pages/Home/TransactionCard/SingleTransaction.tsx | 9 +++------ src/pages/Home/TransactionCard/TransactionCard.tsx | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/pages/Home/TransactionCard/SingleTransaction.tsx b/src/pages/Home/TransactionCard/SingleTransaction.tsx index 3f01bffb..fad0b649 100644 --- a/src/pages/Home/TransactionCard/SingleTransaction.tsx +++ b/src/pages/Home/TransactionCard/SingleTransaction.tsx @@ -50,7 +50,7 @@ export const SingleTransaction: FC = ({ transaction, onClick }) => { return (
  • @@ -62,10 +62,10 @@ export const SingleTransaction: FC = ({ transaction, onClick }) => { confirmations={num_confs ? num_confs : undefined} />
    -
  • ); }; diff --git a/src/pages/Home/TransactionCard/TransactionCard.tsx b/src/pages/Home/TransactionCard/TransactionCard.tsx index 49499637..deee9190 100644 --- a/src/pages/Home/TransactionCard/TransactionCard.tsx +++ b/src/pages/Home/TransactionCard/TransactionCard.tsx @@ -113,13 +113,13 @@ const TransactionCard: FC = ({
    )}