diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/default.vue | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/layouts/default.vue b/layouts/default.vue index 1f291ef..cd9fa09 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,5 +1,5 @@ <script setup lang="ts"> -import { LucideCross, LucideMenu, LucideX } from "lucide-vue-next"; +import { LucideMenu, LucideX } from "lucide-vue-next"; import Dialog from "~/components/Dialog.vue"; import EventDetail from "~/components/EventDetail.vue"; import Sidebar from "~/components/Sidebar.vue"; @@ -78,6 +78,10 @@ router.beforeEach((to, from) => { refErrorDialog.value?.close(); }); +router.afterEach(() => { + showHamburger.value = false; +}); + </script> <template> @@ -155,6 +159,9 @@ header { .planner-content { max-width: 1000px; width: 100%; + display: flex; + flex-direction: column; + gap: 1rem; } .planner-layout { @@ -211,7 +218,8 @@ header { .hamburger-content { background-color: var(--color-background-muted); padding: 1rem; - border-bottom: 2px solid var(--color-border) + border-bottom: 2px solid var(--color-border); + position: fixed; } .planner-sidebar { |
