fix(broadcast): silence unused-CSS check on .failed-count (selector reused via :global)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-27 14:24:08 +02:00
parent 474f5aca8d
commit c89792fe46

View file

@ -745,8 +745,14 @@
font-weight: 600;
}
.failed-count {
color: #b91c1c;
/* `.failed-count` is referenced from the {@html } done_failed_html
locale strings — svelte-check can't see runtime-injected HTML, so
the nested `:global` form keeps the rule alive without tripping
the css_unused_selector warning. */
:global {
.failed-count {
color: #b91c1c;
}
}
.error-details {