From 7829d1ca9543d73d3bc23724b7746318a3449606 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 17 May 2026 13:07:28 +0200 Subject: [PATCH] fix(modals): drop double-card chrome from inner editor div MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The outer already provides border, background, max-width, and padding. After Task 8.5 broadened the CSS to also match div.modal, the inner div was painting its own card chrome inside the outer one — card-in-a-card visual. Strip class="modal modal-wide" and role="document" from the inner div. Standalone-mode renders the editor as flat content under
(the "this URL is also a real page" promise; full-page = full-page, not a modal-over-nothing). Co-Authored-By: Claude Opus 4.7 (1M context) --- l4d2web/l4d2web/templates/overlay_file_editor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l4d2web/l4d2web/templates/overlay_file_editor.html b/l4d2web/l4d2web/templates/overlay_file_editor.html index 2831d96..12b01aa 100644 --- a/l4d2web/l4d2web/templates/overlay_file_editor.html +++ b/l4d2web/l4d2web/templates/overlay_file_editor.html @@ -2,7 +2,7 @@ {% block title %}Edit {{ rel_path }} · {{ overlay.name }}{% endblock %} {% block extra_head %}{% include "_editor_assets.html" %}{% endblock %} {% block content %} -