From f52179363e30d12d12696fb6a9ae195b2df8d474 Mon Sep 17 00:00:00 2001 From: Thomas Kpenou Date: Thu, 25 Jun 2026 14:33:15 -0400 Subject: [PATCH] fix(ui): don't apply custom sidebar width to the mobile overlay The resizable-sidebar width is persisted and was applied inline in every layout. In the narrow/overlay layout (< 992px) a wide desktop width (e.g. 600px) made the sliding sidebar wider than a phone screen when opened. Apply the custom width only on desktop (via a sidebarStyle computed that returns {} in narrow view); the overlay width is now CSS-driven (300px, max-width 85vw) so it never overflows the viewport. Co-Authored-By: Claude Opus 4.8 --- web-src/src/common/components/AppLayout.vue | 16 +++++++++++++++- .../tests/unit/common/AppLayout_resize_test.js | 14 ++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/web-src/src/common/components/AppLayout.vue b/web-src/src/common/components/AppLayout.vue index aa13b708..f8564630 100644 --- a/web-src/src/common/components/AppLayout.vue +++ b/web-src/src/common/components/AppLayout.vue @@ -1,7 +1,7 @@