fix: hide inactive update metric separators

Honor the hidden state of the structured download telemetry container so its decorative separators never remain visible outside an active download.
This commit is contained in:
Sucukdeluxe committed 2026-08-21 00:36:12 +02:00
1 parent 631a20c9b3
commit 97f444e188
2 files changed
+5

No files matched your search

+1
View File
@@ -178,4 +178,5 @@ test('header occupies its final geometry before asynchronous initialization', ()
assert.match(css, /\.update-release-notes\s*\{[^}]*height:\s*min\(220px,\s*42vh\);/su);
assert.match(html, /class="update-progress-footer"[\s\S]*id="updateProgressDetails"[\s\S]*id="updateProgressSize"[\s\S]*id="updateProgressSpeed"[\s\S]*id="updateProgressEta"[\s\S]*id="updateProgressText"/u);
assert.match(css, /#updateProgressDetails\s*\{[^}]*display:\s*grid;[^}]*grid-template-columns:\s*19ch auto 11ch auto 10ch;[^}]*font-variant-numeric:\s*tabular-nums;/su);
assert.match(css, /#updateProgressDetails\[hidden\]\s*\{[^}]*display:\s*none;/su);
});