From d6f45bccf4f5054e87b13a4c4c4a36420464fdf4 Mon Sep 17 00:00:00 2001 From: Prince Shakya Date: Fri, 8 May 2026 19:40:03 +0530 Subject: [PATCH] fix(mobile): restore sidebar nav for Admin and Dark Lab portals - Remove restrictive 'relative z-10' and 'overflow-hidden' from layout wrappers in admin/base.html and darklab/base.html - Add 'sticky top-0 h-screen' to aside elements for stable mobile layout - Update portal.css mobile media query: - Normalize z-index: sidebar (10001), overlay (10000), toggle (10002) - Scope overlay to left: 320px to prevent link interception - Force pointer-events: auto !important on open sidebar and children - Add mobile touch navigation handlers in utils.js sidebar.open() - Add inline _attachMobileSidebarNav() script to both base templates to guarantee interaction regardless of browser caching - Add missing volume mount to docker-compose.yml for real-time updates --- docker-compose.yml | 1 + finbot/apps/admin/templates/base.html | 42 +++++++++++++++++++++++-- finbot/apps/darklab/templates/base.html | 37 ++++++++++++++++++++-- finbot/static/css/vendor/portal.css | 20 ++++++++---- finbot/static/js/common/utils.js | 18 +++++++++++ 5 files changed, 107 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 97f30769..00e8859b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: condition: service_healthy required: false volumes: + - ./finbot:/app/finbot - sqlite_data:/app/data - uploads:/app/uploads - cache:/app/cache diff --git a/finbot/apps/admin/templates/base.html b/finbot/apps/admin/templates/base.html index 33d6cc9d..379fde97 100644 --- a/finbot/apps/admin/templates/base.html +++ b/finbot/apps/admin/templates/base.html @@ -80,9 +80,9 @@ Skip to main content -
+
-