Skip to content

Commit

Permalink
Update bottom bar on mobile (#335)
Browse files Browse the repository at this point in the history
Signed-off-by: Nam Nguyen <nam.nguyen@kyber.network>
  • Loading branch information
namgold authored Jul 5, 2022
1 parent b874f27 commit 90df238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/components/BottomBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ function BottomBar() {
<div>
<SwitchNetworkButton />
</div>
<Flex alignItems='center' color={theme.subText} fontSize='10px'>
<PollingDot />
<a href='/'>
Updated {!!seconds ? seconds + 's' : '-'} ago <br />
</a>
</Flex>

<ButtonEmpty style={{ background: theme.buttonBlack, borderRadius: '8px', padding: '6px' }} onClick={toggleMenuModal}>
<Menu color={theme.text} />
</ButtonEmpty>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SwitchNetworkButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const SwitchNetworkButton = () => {
alt='Network Icon'
style={{ maxWidth: '24px', maxHeight: '24px' }}
/>
{!below576 && <NetworkLabel>{networksInfo[1] ? 'All Chains' : networksInfo[0].name}</NetworkLabel>}
<NetworkLabel>{networksInfo[1] ? 'All Chains' : networksInfo[0].name}</NetworkLabel>
</NetworkWrapper>
<img src={SwitchNetworkIcon} alt='Switch Network Icon' style={{ width: '20px', maxHeight: '20px' }} />
<img src={SwitchNetworkIcon} alt='Switch Network Icon' style={{ width: '20px', maxHeight: '20px', marginLeft: '8px' }} />
</ButtonWrapper>
)
}
Expand Down

0 comments on commit 90df238

Please sign in to comment.