From 51ac3e3d4e1583f422cde8eb7de21d9b6eb85d94 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 9 Jun 2021 17:55:28 -0500 Subject: [PATCH] CryptoDonate: improve styling --- .../components/crypto_address.js | 8 +++-- app/styles/components/crypto-donate.scss | 32 +++++++++++++++++++ 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/app/soapbox/features/crypto_donate/components/crypto_address.js b/app/soapbox/features/crypto_donate/components/crypto_address.js index 483c04953..66828954d 100644 --- a/app/soapbox/features/crypto_donate/components/crypto_address.js +++ b/app/soapbox/features/crypto_donate/components/crypto_address.js @@ -32,10 +32,12 @@ export default class CryptoAddress extends ImmutablePureComponent { return (
-
- {title} +
+
+ {title} +
+
{title}
-
{title}
{note &&
{note}
}
diff --git a/app/styles/components/crypto-donate.scss b/app/styles/components/crypto-donate.scss index dde631cd1..3111cf8b2 100644 --- a/app/styles/components/crypto-donate.scss +++ b/app/styles/components/crypto-donate.scss @@ -1,5 +1,37 @@ .crypto-address { padding: 20px; + display: flex; + flex-direction: column; + + &__head { + display: flex; + align-items: center; + margin-bottom: 6px; + } + + &__title { + font-weight: bold; + } + + &__icon { + display: flex; + align-items: flex-start; + justify-content: center; + width: 24px; + margin-right: 10px; + + img { + width: 100%; + } + } + + &__note { + margin-bottom: 10px; + } + + &__address { + margin-top: auto; + } } .site-wallet {