mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
fix(sidebar): added new settings button
This commit is contained in:
@@ -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">
|
||||||
<Link to="/settings">
|
<ServerCircle>
|
||||||
<Tooltip
|
<Link to="/settings">
|
||||||
content={<Text id="app.settings.title" />}
|
<div className="circle">
|
||||||
placement="right">
|
<IconButton>
|
||||||
<IconButton>
|
<Cog
|
||||||
<Cog size={32} strokeWidth="0.5" />
|
size={24}
|
||||||
</IconButton>
|
fill="var(--secondary-foreground) !important"
|
||||||
</Tooltip>
|
/>
|
||||||
</Link>
|
</IconButton>
|
||||||
</SettingsButton>
|
</div>
|
||||||
|
</Link>
|
||||||
|
</ServerCircle>
|
||||||
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
|
<PaintCounter small />
|
||||||
</ServersBase>
|
</ServersBase>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user