From 5d162cb8e0f5d594905a56a9b16f4f68df5f6631 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Tue, 21 Jan 2025 01:21:09 +0000
Subject: Improve frontend

---
 layouts/default.vue | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'layouts/default.vue')

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 {
-- 
cgit v1.2.3-70-g09d2

