empty state

This commit is contained in:
saml33 2024-07-10 22:01:45 +10:00
parent 289caa3ebd
commit 34668bd1cf
2 changed files with 6 additions and 3 deletions

View File

@ -87,7 +87,7 @@ const Positions = ({
) : null
})
) : (
<div className="flex min-h-[280px] items-center justify-center rounded-2xl border-2 border-th-fgd-1 bg-th-bkg-1 p-6">
<div className="flex min-h-[336px] items-center justify-center rounded-2xl border-2 border-th-fgd-1 bg-th-bkg-1 p-6">
<div className="flex flex-col items-center">
<span className="text-xl">😑</span>
<span>Nothing to see here...</span>

View File

@ -8,7 +8,7 @@ import SheenLoader from './shared/SheenLoader'
const TransactionHistory = () => {
const { history, isLoading, refetch } = useAccountHistory()
return (
<div className="flex min-h-[380px] flex-col space-y-2 rounded-2xl border-2 border-th-fgd-1 bg-th-bkg-1 p-6">
<div className="flex min-h-[398px] flex-col space-y-2 rounded-2xl border-2 border-th-fgd-1 bg-th-bkg-1 p-6">
<div className="text-center text-sm">
<span className="text-th-fgd-4">
History may be delayed by a few minutes.
@ -40,7 +40,10 @@ const TransactionHistory = () => {
))
) : (
<div className="flex grow flex-col items-center justify-center">
<span className="text-center">No activity found...</span>
<div className="flex flex-col items-center">
<span className="text-xl">😑</span>
<span>No activity found...</span>
</div>
</div>
)}
</div>