mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-18 15:25:49 +02:00
8da9ee2455
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 <head> 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 <noreply@anthropic.com>