Skip to content

Commit

Permalink
fix: Adjust styles
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Jun 24, 2024
1 parent 8e00af7 commit 33ffd76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/modules/donation/components/DonationFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export type DonationFlowProps = DonationSubmissionInputs &
};

export const DonationFlow: React.FC<DonationFlowProps> = ({
closeModal,
currentStep,
successResult: result,
...props
Expand Down
8 changes: 4 additions & 4 deletions src/modules/donation/components/DonationSuccess.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Check, Copy, XIcon } from "lucide-react";
import Link from "next/link";

import { Button, Skeleton } from "@/common/ui/components";
import { Button, DialogDescription, Skeleton } from "@/common/ui/components";

import { DonationBreakdown } from "./DonationBreakdown";
import { DonationState } from "../models";
Expand All @@ -12,7 +12,7 @@ export type DonationSuccessProps = {

export const DonationSuccess = ({ result }: DonationSuccessProps) => {
return (
<div un-flex="~ col" un-gap="8" un-items="center" un-p="10">
<DialogDescription className="items-center gap-8 p-10">
<div un-flex="~ col" un-gap="4" un-items="center">
<div
un-flex="~"
Expand Down Expand Up @@ -69,10 +69,10 @@ export const DonationSuccess = ({ result }: DonationSuccessProps) => {
<Skeleton className="h-28" />
)}

<div className="gap--2 flex items-center">
<div un-flex="~" un-items="center" un-gap="2">
<span>{`Txn Hash : ${result?.id}`}</span>
<Copy className="h-4 w-4" />
</div>
</div>
</DialogDescription>
);
};

0 comments on commit 33ffd76

Please sign in to comment.