From 24fb9feead2af236e4629822e13023608ff8f592 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Wed, 27 Apr 2022 17:03:35 +0300 Subject: [PATCH] frontend: animate sidebar on small viewports --- frontend/src/components/ChannelTopBar.svelte | 2 +- frontend/src/components/ChannelView.svelte | 7 ++++- frontend/src/components/Main.svelte | 15 +++------ frontend/src/components/Sidebar.svelte | 33 ++++++++++++++++++-- frontend/src/responsive.js | 3 +- frontend/src/stores.js | 3 ++ 6 files changed, 46 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/ChannelTopBar.svelte b/frontend/src/components/ChannelTopBar.svelte index 218af5b..45d9ed0 100644 --- a/frontend/src/components/ChannelTopBar.svelte +++ b/frontend/src/components/ChannelTopBar.svelte @@ -13,7 +13,7 @@
{#if !$showSidebar} - {/if} diff --git a/frontend/src/components/ChannelView.svelte b/frontend/src/components/ChannelView.svelte index 6a22db9..3eb1d0c 100644 --- a/frontend/src/components/ChannelView.svelte +++ b/frontend/src/components/ChannelView.svelte @@ -1,4 +1,5 @@ -