Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
refactor: update transfer-modal styles
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Mar 27, 2024
1 parent 118ddac commit 048b8ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/modals/transfer-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function TransferModal({ sender, recipient, transferAmount, isOpe
</div>

{txHash ? (
<div className="flex h-10 items-center rounded-xl bg-inner px-middle">
<div className="flex h-12 items-center rounded-xl bg-inner px-middle lg:px-3">
<Progress
confirmedBlocks={txProgressData?.historyRecordByTxHash?.confirmedBlocks}
result={txProgressData?.historyRecordByTxHash?.result}
Expand All @@ -167,11 +167,11 @@ function SourceTarget({
address?: Address | null;
}) {
return chain && token ? (
<div className="flex items-center justify-between rounded-xl bg-inner p-middle lg:p-5">
<div className="flex items-center justify-between rounded-xl bg-inner p-middle lg:p-3">
{/* Left */}
<div className="flex items-center gap-middle">
<Image width={36} height={36} alt="Chain" src={getChainLogoSrc(chain.logo)} className="shrink-0 rounded-full" />
<div className="flex flex-col items-start">
<div className="flex flex-col items-start gap-small">
<span className="text-base font-bold text-white">{chain.name}</span>
<span className="hidden text-sm font-bold text-white/50 lg:inline">{address}</span>
{address ? (
Expand All @@ -194,7 +194,7 @@ function SourceTarget({

function Information({ fee, bridge }: { fee?: { value: bigint; token: Token }; bridge?: BaseBridge | null }) {
return (
<div className="flex flex-col gap-small rounded-xl bg-inner p-middle">
<div className="flex flex-col gap-small rounded-xl bg-inner p-middle lg:p-3">
<Item
label="Transaction Fee"
value={
Expand Down

0 comments on commit 048b8ee

Please sign in to comment.