From cb55a660e57755e9f6d34c15f20c3fcb68506cb9 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 16 Feb 2023 20:08:56 +1100 Subject: [PATCH] Reduce size of the sidebar, to give more realestate to the data side --- public/css/fixes.css | 22 +++++++++++++++++++ .../layouts/partials/sidebarmenu.blade.php | 8 +++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/public/css/fixes.css b/public/css/fixes.css index 6145d28..21ef33e 100644 --- a/public/css/fixes.css +++ b/public/css/fixes.css @@ -2,6 +2,28 @@ body { font-size: 0.85em; } +/* Trim our sidebar down to 250px */ +.app-sidebar { + width: 250px; + min-width: 250px; +} + +.app-header__logo { + width: 250px; +} + +.fixed-sidebar:not(.fixed-header) .app-header { + margin-left: 250px; +} + +.fixed-sidebar .app-main .app-main__outer { + padding-left: 250px; +} + +.font-icon-wrapper i { + font-size: 1.2rem; +} + /* Fixes for data tables */ /* Fix pagination buttons */ .dataTables_wrapper .dataTables_paginate .paginate_button { diff --git a/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php b/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php index f545130..9583d4d 100644 --- a/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php +++ b/resources/themes/architect/views/layouts/partials/sidebarmenu.blade.php @@ -35,16 +35,16 @@
  • {{ $server ?? __('Server Name') }}
  • - +
    {{--
    - +
    --}} @env(['local']) -
    - +
    +
    @endenv