Skip to content

Commit

Permalink
chore: push card footer to bottom (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya authored Jul 4, 2024
1 parent fccbfc1 commit f82bd5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 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">
<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="flex-grow">
<div className="text-2xl font-bold">
{new Intl.NumberFormat().format(albyBalance?.sats)} sats
</div>
Expand Down Expand Up @@ -476,14 +476,14 @@ export default function Channels() {
</CardFooter>
</Card>
)}
<Card>
<Card className="flex flex-col">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium">
Savings Balance
</CardTitle>
<Bitcoin className="h-4 w-4 text-muted-foreground" />
</CardHeader>
<CardContent>
<CardContent className="flex-grow">
{!balances && (
<div>
<div className="animate-pulse d-inline ">
Expand Down Expand Up @@ -519,14 +519,14 @@ export default function Channels() {
</Link>
</CardFooter>
</Card>
<Card>
<Card className="flex flex-col">
<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="flex-grow">
{!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">
<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="flex-grow">
<div className="text-2xl font-bold">
{balances &&
new Intl.NumberFormat().format(
Expand Down

0 comments on commit f82bd5f

Please sign in to comment.