diff --git a/src/routes/tutorial/[slug]/Menu.svelte b/src/routes/tutorial/[slug]/Menu.svelte index c20a183b..947f77ed 100644 --- a/src/routes/tutorial/[slug]/Menu.svelte +++ b/src/routes/tutorial/[slug]/Menu.svelte @@ -23,6 +23,8 @@ $: expanded_chapter = current.chapter.slug; + e.key === 'Escape' && (is_open = false)} /> +
-
-
- {current.part.title}/ - {current.chapter.title}/{current.title} -
+
+ {current.part.title}/ + {current.chapter.title}/{current.title} +
- - + + - - - + + + + {#if is_open} {/if} - + button { + display: flex; + justify-content: center; + align-items: center; + gap: 0.4ch; + width: 100%; + height: 100%; + } + h1 { display: flex; @@ -414,7 +418,7 @@ } /* Remove all styles */ - .heading { + .menu { box-shadow: none; background-color: transparent;