diff --git a/src/app.html b/src/app.html index 0dabdd9b..6381776f 100644 --- a/src/app.html +++ b/src/app.html @@ -125,6 +125,24 @@ } + + + %sveltekit.head% diff --git a/src/lib/components/Menu.svelte b/src/lib/components/Menu.svelte index 40f75174..33d7ca7e 100644 --- a/src/lib/components/Menu.svelte +++ b/src/lib/components/Menu.svelte @@ -1,18 +1,17 @@ -
+
-
- -
+
applyMenu({ menu: Menu.COLLAPSED })}>
@@ -67,16 +64,6 @@ } position: relative; - - --menu-width: var(--menu-expanded-width); - - &.collapsed { - --menu-width: var(--menu-collapsed-width); - - .inner { - overflow-x: hidden; - } - } } .inner { @@ -116,30 +103,4 @@ padding-top: var(--padding-4x); } } - - .bottom { - position: absolute; - right: 0; - bottom: 64px; - transform: rotate(-180deg); - } - - button { - opacity: 0; - visibility: hidden; - transition: opacity var(--animation-time-long); - - padding: var(--padding-1_5x); - - @include media.min-width(large) { - &.visible { - opacity: 1; - visibility: visible; - } - } - } - - .expand { - display: flex; - } diff --git a/src/lib/components/MenuBackground.svelte b/src/lib/components/MenuBackground.svelte index a1162ae2..764b6939 100644 --- a/src/lib/components/MenuBackground.svelte +++ b/src/lib/components/MenuBackground.svelte @@ -6,7 +6,7 @@ import backgroundLight from "$lib/assets/menu-bg-light.png"; import { themeStore } from "$lib/stores/theme.store"; import { Theme } from "$lib/types/theme"; - import {layoutMenuCollapsed, layoutMenuOpen} from "$lib/stores/layout.store"; + import { layoutMenuOpen } from "$lib/stores/layout.store"; import { nonNullish } from "@dfinity/utils"; let logoOnChain: string; @@ -18,7 +18,7 @@ $themeStore === Theme.LIGHT ? backgroundLight : backgroundDark; -
+