fix(ui): Add loading state and min-height for status-content
Some checks failed
Build and Push Docker Image / build (push) Successful in 39s
CI / Security audit (push) Successful in 1m17s
CI / Tests & coverage (push) Has been cancelled

Added loading indicator text and min-height CSS for #status-content
to prevent the empty card appearance when status panel first opens.
This commit is contained in:
2026-05-19 22:29:03 +01:00
parent 57908e2b9e
commit 252cc50aa4
2 changed files with 12 additions and 1 deletions

View File

@@ -70,7 +70,7 @@
<div id="status-panel" class="status-panel" style="display: none;">
<!-- Status content gets rendered here -->
<div id="status-content"></div>
<div id="status-content"><p class="status-loading">Loading status...</p></div>
<!-- Webhooks Configuration Panel (nested inside status) -->
<div class="webhooks-section" id="webhooks-section" style="display: none;">
<div class="webhooks-header" id="webhooks-header">

View File

@@ -1232,6 +1232,17 @@ body {
box-shadow: 0 2px 4px var(--shadow);
}
#status-content {
min-height: 100px;
}
.status-loading {
color: var(--text-muted);
font-style: italic;
text-align: center;
padding: 20px;
}
.status-header {
display: flex;
justify-content: space-between;