From 479e8617894c8622a6325effbc9f556234c93c33 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 10:04:25 +0200 Subject: [PATCH] =?UTF-8?q?cleanup:=20.clip-template-wrap.shown=20modifier?= =?UTF-8?q?=20=E2=80=94=20kills=20inline=20display:none=20+=20style.displa?= =?UTF-8?q?y=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The clip-cutter modal's custom-template wrap (.clip-template-wrap) was hidden by default via inline style="display:none;" in HTML and shown/hidden by updateFilenameTemplateVisibility() via wrap.style.display = 'block' / 'none' based on the selected filename format. Moved both into CSS: the base rule now sets display:none, and a .shown modifier flips to display:block. The renderer toggles the class via classList.toggle('shown', ...) instead of poking at .style.display, and the HTML drops its inline style attribute. Same pattern as 4.6.126 (.queue-details.expanded). Two inline style references gone. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 2 +- src/renderer.ts | 2 +- src/styles.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index ffaef5d..b6d033f 100644 --- a/src/index.html +++ b/src/index.html @@ -99,7 +99,7 @@ {date}_{part}.mp4 (benutzerdefiniert) -