From 9b9cd90e67f6e0e8c7ba2a9cbdc8a94b37694cab Mon Sep 17 00:00:00 2001 From: Yann Amsellem Date: Wed, 15 Jan 2025 12:30:25 +0100 Subject: [PATCH] ui(footer): remove footer on mobile --- src/routes/+page.svelte | 48 +++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 0f17503..a035617 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -218,7 +218,7 @@ /> {/snippet} -
+
{#if isMobile} @@ -296,26 +296,28 @@ {/snippet}
-
- -
- {#if BUILD} - build {BUILD} - {/if} - -
+ {#if !isMobile} +
+ +
+ {#if BUILD} + build {BUILD} + {/if} + +
+ {/if}
@@ -412,6 +414,10 @@ height: 100%; width: 100%; + + &.is-mobile { + --footer-height: 0; + } } .workspace {