From cc2e5a1a67033cce8e4642a33feef378fe989a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 3 May 2023 14:24:11 +0200 Subject: [PATCH] Prevent logo flickering when loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We set the logo size so that it takes up the same space before it is loaded as when it is fully loaded. This way the search bar doesn't get pulled to the left and there is no visual flickering. Signed-off-by: Rūdolfs Ošiņš --- src/App/Header.svelte | 7 ++++++- src/App/Header/Logo.svelte | 33 --------------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 src/App/Header/Logo.svelte diff --git a/src/App/Header.svelte b/src/App/Header.svelte index 3c1182ea9..9089a068c 100644 --- a/src/App/Header.svelte +++ b/src/App/Header.svelte @@ -56,7 +56,12 @@
- +
diff --git a/src/App/Header/Logo.svelte b/src/App/Header/Logo.svelte deleted file mode 100644 index 51dada4a1..000000000 --- a/src/App/Header/Logo.svelte +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - -