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

Commit

Permalink
chore: push card footer to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jul 3, 2024
1 parent 9294553 commit 5d23cde
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/screens/channels/Channels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,14 @@ export default function Channels() {
)}
>
{showHostedBalance && (
<Card>
<Card className="flex flex-col justify-between">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">
Alby Hosted Balance
</CardTitle>
<Hotel className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<CardContent className="mb-5">
<div className="text-2xl font-bold">
{new Intl.NumberFormat().format(albyBalance?.sats)} sats
</div>
Expand Down Expand Up @@ -476,7 +476,7 @@ export default function Channels() {
</CardFooter>
</Card>
)}
<Card>
<Card className="flex flex-col justify-between">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">
Savings Balance
Expand Down Expand Up @@ -519,14 +519,14 @@ export default function Channels() {
</Link>
</CardFooter>
</Card>
<Card>
<Card className="flex flex-col justify-between">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">
Spending Balance
</CardTitle>
<ArrowUp className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<CardContent className="mb-5">
{!balances && (
<div>
<div className="animate-pulse d-inline ">
Expand All @@ -549,14 +549,14 @@ export default function Channels() {
</Link>
</CardFooter>
</Card>
<Card>
<Card className="flex flex-col justify-between">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">
Receiving Capacity
</CardTitle>
<ArrowDown className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<CardContent className="mb-5">
<div className="text-2xl font-bold">
{balances &&
new Intl.NumberFormat().format(
Expand Down

0 comments on commit 5d23cde

Please sign in to comment.