fix(css): please let the torture stop

This commit is contained in:
Paul Makles 2022-06-14 17:21:52 +01:00
parent f0d2e31b17
commit c9127d6cf3

View file

@ -25,12 +25,18 @@ const Navbar = styled.div`
height: var(--bottom-navigation-height); height: var(--bottom-navigation-height);
`; `;
/**
* I've decided that this whole component
* needs to be re-written 👍👍👍👍👍👍
*/
const Button = styled.a<{ active: boolean }>` const Button = styled.a<{ active: boolean }>`
flex: 1; flex: 1;
color: var(--foreground); color: var(--foreground);
a { // ok
color: inherit !important; * {
color: var(--foreground) !important;
} }
> a, > a,
@ -114,9 +120,7 @@ export default observer(() => {
<ConditionalLink <ConditionalLink
active={discoverActive} active={discoverActive}
to="/discover/servers"> to="/discover/servers">
<Compass size={24} /> <Compass size={24} />
</ConditionalLink> </ConditionalLink>
</IconButton> </IconButton>
</Button> </Button>