From 70dec7615e57cfd673c70bf809bb78deda04c125 Mon Sep 17 00:00:00 2001 From: Gbanyan Date: Fri, 28 Nov 2025 00:17:02 +0800 Subject: [PATCH] Optimize Navigation Bar for overflow handling - Grouped all Admin links into a 'Management' dropdown menu on desktop to prevent navbar overflow. - Added a 'Management' section header to the mobile menu for better organization. - Ensured the 'Management' dropdown trigger visually matches other nav links and indicates active state. --- resources/views/layouts/navigation.blade.php | 87 +++++++++++++------- 1 file changed, 55 insertions(+), 32 deletions(-) diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index 8659f59..edcc9a4 100644 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -25,38 +25,56 @@ @if(Auth::user()) - - {{ __('Admin: Members') }} - - - {{ __('Admin: Roles') }} - - - {{ __('Admin: Finance') }} - - - {{ __('Admin: Budgets') }} - - - {{ __('Admin: Transactions') }} - - - {{ __('Admin: Issues') }} - - - {{ __('Admin: Audit Logs') }} - - - {{ __('Admin: Document Categories') }} - - - {{ __('Admin: Documents') }} - - @can('manage_system_settings') - - {{ __('Admin: System Settings') }} - - @endcan + @endif @@ -139,6 +157,11 @@ @if(Auth::user()) +
+
+ {{ __('Management') }} +
+
{{ __('Admin: Members') }}