mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
fix(sidebar): added new settings button
This commit is contained in:
parent
8a1f20615e
commit
6c244d2ae7
1 changed files with 17 additions and 12 deletions
|
@ -182,6 +182,7 @@ const ServerCircle = styled.div`
|
||||||
height: 42px;
|
height: 42px;
|
||||||
width: 42px;
|
width: 42px;
|
||||||
transition: background-color 0.1s ease-in;
|
transition: background-color 0.1s ease-in;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
> div svg {
|
> div svg {
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
|
@ -426,20 +427,24 @@ export default observer(() => {
|
||||||
</ServerCircle>
|
</ServerCircle>
|
||||||
)}
|
)}
|
||||||
</ServerList>
|
</ServerList>
|
||||||
<PaintCounter small />
|
|
||||||
{!isTouchscreenDevice && (
|
{!isTouchscreenDevice && (
|
||||||
<SettingsButton>
|
<Tooltip content={"Settings"} placement="right">
|
||||||
|
<ServerCircle>
|
||||||
<Link to="/settings">
|
<Link to="/settings">
|
||||||
<Tooltip
|
<div className="circle">
|
||||||
content={<Text id="app.settings.title" />}
|
|
||||||
placement="right">
|
|
||||||
<IconButton>
|
<IconButton>
|
||||||
<Cog size={32} strokeWidth="0.5" />
|
<Cog
|
||||||
|
size={24}
|
||||||
|
fill="var(--secondary-foreground) !important"
|
||||||
|
/>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
</SettingsButton>
|
</ServerCircle>
|
||||||
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
|
<PaintCounter small />
|
||||||
</ServersBase>
|
</ServersBase>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue