From 2a4236efea3c2f6d701564e242302776a19c074a Mon Sep 17 00:00:00 2001 From: Barely Removable Date: Thu, 27 Aug 2026 08:11:27 -0700 Subject: [PATCH] Drop a redundant inline margin from the Storage fallback note MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The container-disk-usage note carried style="margin-bottom:0", which 326ab6c had already covered with `.meter-legend + .empty`. The

is that rule's adjacent sibling in the rendered output (the Jinja {% if %} around it emits no element), so the inline copy was doing nothing and violated CLAUDE.md's no-static-inline-style rule for no benefit. Verified the computed margin-bottom is still 0 with the attribute gone. The eight remaining inline styles are the kinds the rule allows — Jinja-computed meter widths and threshold colours, and display:none on elements dashboard.js reveals. Co-Authored-By: Claude Opus 5 --- templates/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/dashboard.html b/templates/dashboard.html index 67d2d2a..0fefef7 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -262,7 +262,7 @@

{{ unraid.array_used }} used
{% if unraid.source == "local" %} -

Container disk usage ({{ unraid.mount }}). Set UNRAID_API_KEY for full array stats.

+

Container disk usage ({{ unraid.mount }}). Set UNRAID_API_KEY for full array stats.

{% endif %} {% endif %}