From a6ee670682da68cb05a69c5d0a9fec4571665a8c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 12 Nov 2025 23:29:58 -0500 Subject: [PATCH] Fix bad minification (#27926) --- src/html/index.html.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/index.html.template b/src/html/index.html.template index a4dd947030..48e5fcb1e2 100644 --- a/src/html/index.html.template +++ b/src/html/index.html.template @@ -63,7 +63,8 @@ z-index: 100; } @media (prefers-color-scheme: dark) { - #ha-launch-screen { + /* body selector to avoid minification causing bad jinja2 */ + body #ha-launch-screen { background-color: var(--primary-background-color, #111111); } }