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 @@