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