From f0705e1e4a38e6972b287300f144464f77019749 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Mon, 9 Sep 2024 13:34:26 +0200 Subject: [PATCH] fix sidebar navigation overflowing, add scrollbar only to nav items --- resources/js/Layouts/AppLayout.vue | 215 +++++++++++++++-------------- 1 file changed, 113 insertions(+), 102 deletions(-) diff --git a/resources/js/Layouts/AppLayout.vue b/resources/js/Layouts/AppLayout.vue index 1d6361af..8bd1838b 100644 --- a/resources/js/Layouts/AppLayout.vue +++ b/resources/js/Layouts/AppLayout.vue @@ -79,8 +79,8 @@ const page = usePage<{ '!flex bg-default-background w-full z-[9999999999]': showSidebarMenu, }" - class="flex-shrink-0 h-screen hidden fixed w-[230px] 2xl:w-[250px] px-2.5 2xl:px-4 py-4 lg:flex flex-col justify-between"> -
+ class="flex-shrink-0 h-screen hidden fixed w-[230px] 2xl:w-[250px] px-2.5 2xl:px-3 py-4 lg:flex flex-col justify-between"> +
@@ -91,119 +91,130 @@ const page = usePage<{
- + -
- Manage -
+
+ Manage +
- -
- Admin -
+ +
+ Admin +
- +
+
+ +
    + +
- -
- -
- -
    - - - -
+