From 67081ab465c8ea919642281fbaf092985c9a7496 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Wed, 15 Oct 2025 10:38:34 +0200 Subject: [PATCH] [ADD] Device detection and always minimize the sidebar on mobile --- .../templates/menu/sortable-side-menu.html | 2 +- allianceauth/middleware.py | 65 +++++++++++++++++++ .../project_name/settings/base.py | 1 + pyproject.toml | 3 + 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 allianceauth/middleware.py diff --git a/allianceauth/menu/templates/menu/sortable-side-menu.html b/allianceauth/menu/templates/menu/sortable-side-menu.html index ad17f990..6a1b1c82 100644 --- a/allianceauth/menu/templates/menu/sortable-side-menu.html +++ b/allianceauth/menu/templates/menu/sortable-side-menu.html @@ -3,7 +3,7 @@ {% load menu_menu_items %}
-