From 12047ba94476c2716bcadb444611c26ff1e7ed16 Mon Sep 17 00:00:00 2001 From: nizune <9-nizune@users.noreply.gitlab.insrt.uk> Date: Mon, 2 Aug 2021 10:57:17 +0200 Subject: [PATCH] New server sidebar swoosh --- .../navigation/left/ServerListSidebar.tsx | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/navigation/left/ServerListSidebar.tsx b/src/components/navigation/left/ServerListSidebar.tsx index 53ea0e1d..3079feab 100644 --- a/src/components/navigation/left/ServerListSidebar.tsx +++ b/src/components/navigation/left/ServerListSidebar.tsx @@ -61,6 +61,7 @@ function Icon({ const ServersBase = styled.div` width: 56px; height: 100%; + padding-left: 2px; display: flex; flex-direction: column; @@ -95,7 +96,7 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>` > div { height: 42px; - padding-left: 10px; + padding-inline-start: 6px; display: grid; place-items: center; @@ -128,8 +129,6 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>` svg { margin-top: 5px; - display: relative; - pointer-events: none; // outline: 1px solid red; } @@ -145,25 +144,22 @@ const ServerEntry = styled.div<{ active: boolean; home?: boolean }>` function Swoosh() { return ( - + + + ); }