From 2914c29ab3adffdc3389ceb630b2f1570359677e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 22 Dec 2024 15:11:10 -0700 Subject: [PATCH] refac: styling --- src/lib/components/layout/Sidebar.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index eb8f8f111..cfa9e713d 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -544,9 +544,8 @@ ? 'opacity-20' : ''}" > - {#if $user.role === 'admin' || $channels.length > 0} + {#if ($user.role === 'admin' || $channels.length > 0) && !search}