diff --git a/src/pages/Admin/Charity/Dashboard/MoveFundForm.tsx b/src/pages/Admin/Charity/Dashboard/MoveFundForm.tsx index 631aa44eed..4f55d5fe09 100644 --- a/src/pages/Admin/Charity/Dashboard/MoveFundForm.tsx +++ b/src/pages/Admin/Charity/Dashboard/MoveFundForm.tsx @@ -146,6 +146,10 @@ const tos: { [K in Flow]: string } = { function Deduction(props: IDeduction) { return (
+

+ + {tos[props.to]} +

$ {humanize(props.amount)}{" "} {props.isEditing && ( @@ -156,12 +160,6 @@ function Deduction(props: IDeduction) { /> )} - - {tos[props.to]}
); } diff --git a/src/pages/Admin/Charity/Dashboard/Summary.tsx b/src/pages/Admin/Charity/Dashboard/Summary.tsx index bf4274f2c4..e2e09084cc 100644 --- a/src/pages/Admin/Charity/Dashboard/Summary.tsx +++ b/src/pages/Admin/Charity/Dashboard/Summary.tsx @@ -100,18 +100,17 @@ function Balance({ classes = "", ...props }: IItem) { key={idx} className="grid grid-cols-subgrid col-span-full items-center" > - 0 ? "text-green" : "text-navy-l1" - } justify-self-end mr-4`} - type={value > 0 ? "ArrowRight" : "ArrowLeft"} - /> -

$ {humanize(Math.abs(value))}

-

- {value > 0 ? "from" : "to"} +

+ 0 ? "text-green" : "text-navy-l1" + } justify-self-end mr-2`} + type={value > 0 ? "ArrowRight" : "ArrowLeft"} + /> + {toOrFrom}

-

{toOrFrom}

+

$ {humanize(Math.abs(value))}

))}