From a396e511ec4cf74cbc4d178a708501fee8fe6fe4 Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Mon, 27 Dec 2021 15:15:37 +0100 Subject: [PATCH] fix(header): changed class names --- src/components/common/ServerHeader.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/common/ServerHeader.tsx b/src/components/common/ServerHeader.tsx index c17e46a3..e1d816f6 100644 --- a/src/components/common/ServerHeader.tsx +++ b/src/components/common/ServerHeader.tsx @@ -25,7 +25,7 @@ const ServerBanner = styled.div` flex-direction: column; justify-content: end; - .title { + .container { height: 48px; display: flex; align-items: center; @@ -36,7 +36,7 @@ const ServerBanner = styled.div` text-overflow: ellipsis; gap: 8px; - .test { + .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -51,7 +51,7 @@ export default observer(({ server }: Props) => { return (
-
+
{server.flags && server.flags & 1 ? ( { ) : undefined}
-
{server.name}
+
{server.name}
{(server.permission & ServerPermission.ManageServer) > 0 && (