From 51c2ccfbe42a08b3101f008633f5e6723d30a6e6 Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Sat, 27 May 2023 23:32:07 +0200 Subject: [PATCH] fixing header --- src/lib/elements/MenuMobile.svelte | 59 ++++++++++++++++-------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/src/lib/elements/MenuMobile.svelte b/src/lib/elements/MenuMobile.svelte index c48997f..9cb8023 100644 --- a/src/lib/elements/MenuMobile.svelte +++ b/src/lib/elements/MenuMobile.svelte @@ -51,7 +51,7 @@ function setOpen() { menuOpen = !menuOpen; - const animation = menuContainer.animate([{ height: '0px' }, { height: '360px' }], { + const animation = menuContainer.animate([{ height: '0px' }, { height: '240px' }], { duration: 100, fill: 'both' }); @@ -61,7 +61,7 @@