From 03ec5275eea319203db94217b18f22fd24ae5b61 Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Tue, 28 Dec 2021 21:04:18 +0100 Subject: [PATCH] fix(header): padding --- external/lang | 2 +- src/components/common/ServerHeader.tsx | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/external/lang b/external/lang index 35894f6b..b955e406 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit 35894f6b1ecadc9df4ab77a5de9c9d5256a36582 +Subproject commit b955e40611bc317851fe80fafdc3a26b9665d77e diff --git a/src/components/common/ServerHeader.tsx b/src/components/common/ServerHeader.tsx index 9b5381a6..9b09fae5 100644 --- a/src/components/common/ServerHeader.tsx +++ b/src/components/common/ServerHeader.tsx @@ -50,7 +50,7 @@ const ServerBanner = styled.div` 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}
{server.name}
{(server.permission & ServerPermission.ManageServer) > 0 && ( -
- - - - - -
+ + + + + )}