Skip to content

Commit 2f9b6f9

Browse files
committed
improve activity UI
1 parent 1ecf36c commit 2f9b6f9

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

devconnect-app/src/app/wallet/WalletTab.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,8 @@ export default function WalletTab() {
680680
}
681681
}}
682682
>
683-
<div className="flex items-start justify-between">
684-
<div className="flex-1">
683+
<div className="w-full">
684+
<div className="w-full">
685685
{description && (
686686
<p className="font-medium text-sm mb-1 text-[#36364c]">
687687
{description}
@@ -692,26 +692,26 @@ export default function WalletTab() {
692692
{truncateHash(hash)}
693693
</p>
694694
)}
695-
{chainId && (
696-
<div className="flex items-center gap-1 mt-1">
697-
{getNetworkLogo(chainId) && (
698-
<img
699-
src={getNetworkLogo(chainId)}
700-
alt={readableNetwork}
701-
className="w-3 h-3 rounded-full"
702-
/>
703-
)}
704-
<p className="text-xs text-[#4b4b66]">
705-
{readableNetwork}
695+
{chainId && timestamp && (
696+
<div className="flex items-center justify-between mt-1">
697+
<div className="flex items-center gap-1">
698+
{getNetworkLogo(chainId) && (
699+
<img
700+
src={getNetworkLogo(chainId)}
701+
alt={readableNetwork}
702+
className="w-3 h-3 rounded-full"
703+
/>
704+
)}
705+
<p className="text-xs text-[#4b4b66]">
706+
{readableNetwork}
707+
</p>
708+
</div>
709+
<p className="text-xs text-gray-500">
710+
{formatTimestamp(timestamp)}
706711
</p>
707712
</div>
708713
)}
709714
</div>
710-
{timestamp && (
711-
<p className="text-xs text-gray-500 ml-2">
712-
{formatTimestamp(timestamp)}
713-
</p>
714-
)}
715715
</div>
716716
</div>
717717
);

0 commit comments

Comments
 (0)