From 9608a457a52ad4d961000218c7b7db3b4b30588b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Fri, 9 Oct 2020 14:33:24 +0200 Subject: [PATCH] sneaky --- src/components/galerie.svelte | 2 +- src/routes/index.svelte | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/galerie.svelte b/src/components/galerie.svelte index ca65fa2..50b73a0 100644 --- a/src/components/galerie.svelte +++ b/src/components/galerie.svelte @@ -109,7 +109,7 @@ {:else if selected == "tech"}
- +
diff --git a/src/routes/index.svelte b/src/routes/index.svelte index a5aef48..e38723c 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -383,6 +383,9 @@ } function resize() { + if (window.innerWidth <= 800) + clicked = true; + if (clicked) { let predseda = document.getElementById("predseda"); let prebiram = document.getElementById("prebiram");