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}>
<ConditionalLink active={friendsActive} to="/friends"> <IconButton>
<Centred> <ConditionalLink active={friendsActive} to="/friends">
<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}>
<ConditionalLink <IconButton>
active={discoverActive} <ConditionalLink
to="/discover/servers"> active={discoverActive}
<Centred> to="/discover/servers">
<Compass size={24} /> <Compass size={24} />
</Centred>
</ConditionalLink> </ConditionalLink>
</IconButton>
</Button> </Button>
<Button active={settingsActive}> <Button active={settingsActive}>
<ConditionalLink active={settingsActive} to="/settings"> <IconButton>
<Centred> <ConditionalLink active={settingsActive} to="/settings">
<UserIcon target={user} size={26} status={true} /> <UserIcon target={user} size={26} status={true} />
</Centred> </ConditionalLink>
</ConditionalLink> </IconButton>
</Button> </Button>
</Navbar> </Navbar>
</Base> </Base>