From 8b000c1ecfbd159558225b75a642a0c14aa3f74a Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Sat, 27 May 2023 23:32:07 +0200 Subject: [PATCH] fixing header --- package.json | 3 +- src/lib/elements/MenuMobile.svelte | 59 ++++++++++--------- ...o_2023-05-27_14-07-56.webp:Zone.Identifier | 4 -- vite.config.ts | 2 +- 4 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 static/photo_2023-05-27_14-07-56.webp:Zone.Identifier diff --git a/package.json b/package.json index fc9a7de..e4e7c92 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "scripts": { "update-model": "json2ts ./src/lib/model/schemas/job.json ./src/lib/model/job.ts && json2ts ./src/lib/model/schemas/logo.json ./src/lib/model/logo.ts", "dev": "vite dev", + "dev-exposed": "vite dev --host", "build": "vite build", "postbuild": "npx svelte-sitemap --domain https://pettinato.eu", "preview": "vite preview", @@ -50,4 +51,4 @@ "svelte-sitemap": "^2.6.0", "typesafe-i18n": "^5.20.0" } -} +} \ No newline at end of file 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 @@