mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:41:08 +02:00
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:
parent
474f5aca8d
commit
c89792fe46
1 changed files with 8 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue