Blockers #2360

Merged
neb-b merged 7 commits from blockers into master 2019-03-20 05:55:31 +01:00
Showing only changes of commit 4aab7127e1 - Show all commits

View file

@ -10,13 +10,15 @@ type Props = {
const WalletBalance = (props: Props) => { const WalletBalance = (props: Props) => {
const { balance } = props; const { balance } = props;
return ( return (
<section className="card card--section card--wallet-balance"> <section
<header className="card__header"> className='card card--section card--wallet-balance'
<h2 className="card__title">{__('Balance')}</h2> style={{ backgroundImage: `url(${BalanceBackground})` }}
<p className="card__subtitle">{__('You currently have')}</p> >
<header className='card__header'>
<h2 className='card__title'>{__('Balance')}</h2>
<p className='card__subtitle'>{__('You currently have')}</p>
</header> </header>
<div className='card__content'>
<div className="card__content">
{(balance || balance === 0) && ( {(balance || balance === 0) && (
<CreditAmount large badge={false} amount={balance} precision={8} /> <CreditAmount large badge={false} amount={balance} precision={8} />
)} )}