From 1ff872d1ddcaa4244682eaba8abf5ade65cbbc7c Mon Sep 17 00:00:00 2001 From: robin Date: Sun, 8 Oct 2023 19:36:26 +0000 Subject: [PATCH] tst --- frontend/src/lib/components/header/mobile.svelte | 2 +- frontend/src/lib/components/pagebuilder/Homepage.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/header/mobile.svelte b/frontend/src/lib/components/header/mobile.svelte index 14989d1..e17daea 100644 --- a/frontend/src/lib/components/header/mobile.svelte +++ b/frontend/src/lib/components/header/mobile.svelte @@ -282,7 +282,7 @@ margin-top: -15px; .logo-text { padding: 0px 5px; - width: 180px; + width: 200px; p { white-space: nowrap; text-align: left; diff --git a/frontend/src/lib/components/pagebuilder/Homepage.svelte b/frontend/src/lib/components/pagebuilder/Homepage.svelte index 65465f9..7a0531b 100644 --- a/frontend/src/lib/components/pagebuilder/Homepage.svelte +++ b/frontend/src/lib/components/pagebuilder/Homepage.svelte @@ -35,7 +35,7 @@ let heightOfEl = el?.clientHeight const hp = document.getElementById("Homepage") const homepage_placeholder = document.getElementById("homepage-placeholder") - if (hp) { + if (hp && window.innerHeight < 600) { hp.style.minHeight = (heightOfEl || window.innerHeight) + 200 + "px" homepage_placeholder.style.minHeight = (heightOfEl || window.innerHeight) + 350 + "px" }