Show balance on large & medium screens
This commit is contained in:
parent
59c75c9cec
commit
ad8fc035bb
2 changed files with 6 additions and 3 deletions
|
@ -156,7 +156,10 @@ const Header = (props: Props) => {
|
|||
) : (
|
||||
<Button
|
||||
navigate={`/$/${PAGES.WALLET}`}
|
||||
className="button--file-action header__navigationItem--balance"
|
||||
className={classnames('button--file-action header__navigationItem--balance', {
|
||||
'header__navigationItem--balance-round':
|
||||
hideBalance || Number(roundedTotalBalance) === 0 || !prefsReady,
|
||||
})}
|
||||
label={
|
||||
hideBalance || Number(roundedTotalBalance) === 0 || !prefsReady
|
||||
? __(isMobile ? 'Wallet' : 'Your Wallet')
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
.header__menu--right {
|
||||
.header__navigationItem--balance {
|
||||
transition: border-radius 0.4s;
|
||||
.button__label {
|
||||
margin-left: var(--spacing-xxs) !important;
|
||||
}
|
||||
|
@ -44,8 +45,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.header__navigationItem--balance {
|
||||
transition: border-radius 0.4s;
|
||||
.header__navigationItem--balance-round {
|
||||
@media (max-width: $breakpoint-large) {
|
||||
border-radius: 50%;
|
||||
.button__label {
|
||||
|
|
Loading…
Reference in a new issue