mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
fix(css): please let the torture stop
This commit is contained in:
parent
f0d2e31b17
commit
c9127d6cf3
1 changed files with 8 additions and 4 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue