getAlby / nostr-wallet-connect-next

Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node
https://nwc.getalby.com
Apache License 2.0
7 stars 3 forks source link

chore: push card footer to bottom #562

Closed im-adithya closed 1 week ago

im-adithya commented 1 week ago

Note

mb-5 is just added to keep the sats in other cards in the same line as Savings Balance sats, if this feels hacky, we can group Header and Content in a div and add flex flex-col justify-between to the <Card>

Before

Screenshot 2024-07-03 at 10 40 02 AM

After

Screenshot 2024-07-03 at 10 39 44 AM
rolznz commented 1 week ago

justify-between seems better to me rather than random margins!

im-adithya commented 1 week ago

Done!

reneaaron commented 1 week ago

This adds quite a bit of markup :thinking: Couldn't you just add flex flex-col to the card and apply flex-grow to the CardContent element? That should work without additional markup...

im-adithya commented 1 week ago

Thanks Flexbox Supreme 🫡

Screenshot 2024-07-03 at 12 26 40 PM