mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
fix(header): padding
This commit is contained in:
parent
e8784946ae
commit
03ec5275ee
2 changed files with 7 additions and 9 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 35894f6b1ecadc9df4ab77a5de9c9d5256a36582
|
||||
Subproject commit b955e40611bc317851fe80fafdc3a26b9665d77e
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue