[fix](trx-frontend): group signal visuals in main tab
Wrap the waterfall and spectrum in a shared main-tab block so lower sections and other tabs keep consistent spacing. Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -48,10 +48,6 @@
|
||||
<button id="header-auth-btn" class="header-bar-btn" type="button" style="display:none;" aria-label="Login or Logout">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overview-strip">
|
||||
<canvas id="overview-canvas" aria-hidden="true"></canvas>
|
||||
<div id="rds-ps-overlay" aria-live="polite" aria-label="RDS station name"></div>
|
||||
</div>
|
||||
<!-- Auth gate (hidden by default, shown if auth is required) -->
|
||||
<div id="auth-gate" style="display:none; max-width: 30rem; margin: 0 auto 0.9rem; padding: 1.25rem 0 1.5rem; text-align: center;">
|
||||
<div style="margin-bottom: 1.5rem;">
|
||||
@@ -72,6 +68,11 @@
|
||||
<div id="loading-sub" style="color:#9aa4b5;"></div>
|
||||
</div>
|
||||
<div id="content" style="display:none;">
|
||||
<div class="signal-visual-block">
|
||||
<div class="overview-strip">
|
||||
<canvas id="overview-canvas" aria-hidden="true"></canvas>
|
||||
<div id="rds-ps-overlay" aria-live="polite" aria-label="RDS station name"></div>
|
||||
</div>
|
||||
<div id="spectrum-panel" style="display:none;">
|
||||
<div class="spectrum-wrap">
|
||||
<canvas id="spectrum-canvas"></canvas>
|
||||
@@ -100,6 +101,7 @@
|
||||
<div id="spectrum-hint" class="spectrum-hint-mouse">Scroll to zoom · Ctrl+Scroll to tune · Drag to pan · Drag BW edges to resize</div>
|
||||
<div id="spectrum-hint-touch" class="spectrum-hint-touch">Pinch to zoom · Drag to pan · Drag BW edges to resize</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="status">
|
||||
<div class="full-row freq-row">
|
||||
<div class="inline freq-inline">
|
||||
|
||||
@@ -512,6 +512,12 @@ small { color: var(--text-muted); }
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
}
|
||||
.signal-visual-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
margin-bottom: 0.9rem;
|
||||
}
|
||||
#rds-ps-overlay {
|
||||
display: none;
|
||||
position: absolute;
|
||||
@@ -1003,7 +1009,7 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
||||
|
||||
/* ── Spectrum display ─────────────────────────────────────────────────── */
|
||||
#spectrum-panel {
|
||||
margin-bottom: 0.9rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.spectrum-wrap {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user