From f1cb90ac030732d53aa60390eb72ffcc09411c4b Mon Sep 17 00:00:00 2001 From: thepra Date: Tue, 6 Oct 2026 22:44:57 +0200 Subject: [PATCH] The phone menu closes after a choice On a phone the menu stayed open over the page after a link was tapped, and only the hamburger closed it. It now closes on any navigation, on a persona switch, on a tap outside it (a dimmed backdrop) and on Escape; its height is capped at the screen's (dvh) with its own scroll, and its width follows a narrow screen. The hamburger has a name ("Menu") and says whether the menu is open. The header's logo is a link home and the persona's picture a 44px link to Settings (it was 30px). From md, the sidebar scrolls on its own when the window is short, as on a phone held sideways. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw --- Resources/AllStrings.it.resx | 3 ++ Resources/AllStrings.resx | 3 ++ Shared/NavMenu.razor | 65 +++++++++++++++++++++++++----------- 3 files changed, 52 insertions(+), 19 deletions(-) diff --git a/Resources/AllStrings.it.resx b/Resources/AllStrings.it.resx index 23cfcad..b1b6eef 100644 --- a/Resources/AllStrings.it.resx +++ b/Resources/AllStrings.it.resx @@ -1817,4 +1817,7 @@ {0} filtrate, ti aspettano + + Menu + diff --git a/Resources/AllStrings.resx b/Resources/AllStrings.resx index 3a7de16..406f821 100644 --- a/Resources/AllStrings.resx +++ b/Resources/AllStrings.resx @@ -1817,4 +1817,7 @@ {0} filtered, waiting for you + + Menu + diff --git a/Shared/NavMenu.razor b/Shared/NavMenu.razor index 3267e4a..816529b 100644 --- a/Shared/NavMenu.razor +++ b/Shared/NavMenu.razor @@ -1,12 +1,22 @@ @inherits LocalizableComponentBase -