fix(header): padding

This commit is contained in:
trashtemp 2021-12-28 21:04:18 +01:00
parent e8784946ae
commit 03ec5275ee
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
2 changed files with 7 additions and 9 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 35894f6b1ecadc9df4ab77a5de9c9d5256a36582
Subproject commit b955e40611bc317851fe80fafdc3a26b9665d77e

View file

@ -50,7 +50,7 @@ const ServerBanner = styled.div<Props>`
height: 48px;
display: flex;
align-items: center;
padding: 10px;
padding: 0 14px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
@ -134,13 +134,11 @@ export default observer(({ server }: Props) => {
) : undefined}
<div className="title">{server.name}</div>
{(server.permission & ServerPermission.ManageServer) > 0 && (
<div className="actions">
<Link to={`/server/${server._id}/settings`}>
<IconButton>
<Cog size={20} />
</IconButton>
</Link>
</div>
<Link to={`/server/${server._id}/settings`}>
<IconButton>
<Cog size={20} />
</IconButton>
</Link>
)}
</div>
</ServerBanner>