fix: bottom nav alignment is wrong (#684)

Co-authored-by: div2005 <div2005@tuta.io>
Co-authored-by: Paul Makles <paulmakles@gmail.com>
This commit is contained in:
div2005 2022-06-14 19:19:18 +03:00 committed by GitHub
parent 220a28a151
commit f0d2e31b17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,11 +89,11 @@ export default observer(() => {
</Centred>
</Button>
<Button active={friendsActive}>
<ConditionalLink active={friendsActive} to="/friends">
<Centred>
<IconButton>
<ConditionalLink active={friendsActive} to="/friends">
<Group size={25} />
</Centred>
</ConditionalLink>
</ConditionalLink>
</IconButton>
</Button>
{/*<Button active={searchActive}>
<ConditionalLink active={searchActive} to="/search">
@ -110,20 +110,22 @@ export default observer(() => {
</ConditionalLink>
</Button>*/}
<Button active={discoverActive}>
<ConditionalLink
active={discoverActive}
to="/discover/servers">
<Centred>
<IconButton>
<ConditionalLink
active={discoverActive}
to="/discover/servers">
<Compass size={24} />
</Centred>
</ConditionalLink>
</ConditionalLink>
</IconButton>
</Button>
<Button active={settingsActive}>
<ConditionalLink active={settingsActive} to="/settings">
<Centred>
<IconButton>
<ConditionalLink active={settingsActive} to="/settings">
<UserIcon target={user} size={26} status={true} />
</Centred>
</ConditionalLink>
</ConditionalLink>
</IconButton>
</Button>
</Navbar>
</Base>