Stop Unraid's span.warn stretching the watchdog and queue badges across their row

This commit is contained in:
Gmer4Lfe
2026-08-16 11:55:25 -04:00
parent f2ad41e8e2
commit 73358e6bae
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -56,6 +56,10 @@ require_once dirname(__DIR__) . '/include/ai_chat.php';
/* ── Queue badges ────────────────────────────────────────── */
.vv-arr-q { display:flex;gap:6px;align-items:center;flex-wrap:wrap; }
.vv-arr-qbadge{ font-size:10px;padding:1px 7px;border-radius:3px;font-weight:600; }
/* See the same note in watchdog.php: Unraid's `span.warn` blockifies any span carrying that class
and stretches it to the full width of its container, and the queue badge takes `warn` as one of
its states. Ties on specificity, wins on order. */
span.vv-arr-qbadge { display:inline-block; width:auto; }
.vv-arr-qbadge.dl { background:#0a1a2a;color:#4a9eff;border:1px solid #1a3a5a; }
.vv-arr-qbadge.warn { background:#1f1500;color:#ffb74d;border:1px solid #3a2800; }
.vv-arr-qbadge.err { background:#200d0d;color:#ef5350;border:1px solid #3a1a1a; }