Fix wallet cut off on mobile
This commit is contained in:
parent
f5ba2d5425
commit
7757960d96
1 changed files with 7 additions and 1 deletions
|
@ -148,7 +148,13 @@ const Header = (props: Props) => {
|
||||||
<Button
|
<Button
|
||||||
navigate={`/$/${PAGES.WALLET}`}
|
navigate={`/$/${PAGES.WALLET}`}
|
||||||
className="button--file-action header__navigationItem--balance"
|
className="button--file-action header__navigationItem--balance"
|
||||||
label={hideBalance || Number(roundedTotalBalance) === 0 ? __('Your Wallet') : roundedTotalBalance}
|
label={
|
||||||
|
hideBalance || Number(roundedTotalBalance) === 0
|
||||||
|
? isMobile
|
||||||
|
? __('Wallet')
|
||||||
|
: __('Your Wallet')
|
||||||
|
: roundedTotalBalance
|
||||||
|
}
|
||||||
icon={ICONS.LBC}
|
icon={ICONS.LBC}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue