Keep the quest-log meta line's class when a quest is not late

The open quest card built its meta line as
class="meta ${meta.late ? "late" : nothing}"; Lit drops the whole
attribute when any interpolated part is nothing, so every on-time quest
lost the meta class and its styling. Choose the full class string
instead, rebuild the panel bundle, and add a rendered regression test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 09:39:04 -04:00
co-authored by Claude Opus 5.5
parent 744d80e645
commit 235c327608
3 changed files with 61 additions and 2 deletions
@@ -3225,7 +3225,7 @@ const Rt = "polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%)", ln = "polygon(50%
<span class="tile" aria-hidden="true">${st}</span>
<div class="body">
<span class="quest-title">${t.title}</span>
<span class="meta ${r.late ? "late" : g}">${r.text}</span>
<span class="${r.late ? "meta late" : "meta"}">${r.text}</span>
</div>
<button
class="complete"