From 8da9ee24555ffc82d4aa28cf9b7bdce1ea6edc11 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Wed, 6 May 2026 21:48:51 +0200 Subject: [PATCH] fix(ui): sidebar breakpoint not applied in DM window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dm.html is a standalone template (not extending base.html), so it didn't receive the .layout-wide class — the DM contact list never appeared as a sidebar even on wide screens. Added an inline script in dm.html mirroring the base.html logic. Also subscribes to the `storage` event so the iframe re-applies the class live when the user changes the breakpoint in the parent window's Settings -> Interface tab. Co-Authored-By: Claude Opus 4.7 --- app/templates/dm.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/app/templates/dm.html b/app/templates/dm.html index 82833fc..060ae7d 100644 --- a/app/templates/dm.html +++ b/app/templates/dm.html @@ -14,6 +14,31 @@ })(); + + +