fix: alert panel always visible, version display normalization

- Remove x-show condition hiding alert panel when no alerts exist
- Add empty state message explaining alerts appear on rule triggers
- Normalize appVersion in loadVersion() to strip leading 'v' (prevents vv1.7.0 in footer)
This commit is contained in:
2026-04-22 14:21:34 +02:00
parent 0a16cf6870
commit 94983c43e9
2 changed files with 15 additions and 3 deletions

View File

@@ -809,6 +809,15 @@ input {
flex-wrap: wrap;
}
.alerts-empty {
padding: 20px;
text-align: center;
color: var(--muted);
font-size: 14px;
border: 1px dashed var(--border);
border-radius: 10px;
}
@media (max-width: 640px) {
.topbar {
flex-direction: column;