From f87077d3810a326300f403edb82a567189c1b6af Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Fri, 5 Aug 2022 05:24:45 +0300 Subject: [PATCH] move "connecting..." indicator to the sidebar to prevent layout shifts --- frontend/src/components/Main.svelte | 7 ------- frontend/src/components/Sidebar.svelte | 10 ++++++++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/Main.svelte b/frontend/src/components/Main.svelte index ebe7444..16b1f1e 100644 --- a/frontend/src/components/Main.svelte +++ b/frontend/src/components/Main.svelte @@ -44,13 +44,6 @@ -{#if !$gatewayStatus.ready} -
- - connecting... -
-{/if} -
{#if $showSidebar || $selectedChannel.id === -1} diff --git a/frontend/src/components/Sidebar.svelte b/frontend/src/components/Sidebar.svelte index 8da9e04..d2d9548 100644 --- a/frontend/src/components/Sidebar.svelte +++ b/frontend/src/components/Sidebar.svelte @@ -1,8 +1,8 @@