[feat](trx-frontend-http): move bookmark axis between waterfall and waveform

Relocate #spectrum-bookmark-axis from inside .spectrum-wrap to the
flex gap between .overview-strip (waterfall) and #spectrum-panel
(waveform). Give it z-index:5 so labels sit above the signal-overlay-
canvas (BW/freq selector, z-index:4). Drop the now-unneeded
#spectrum-freq-axis.bm-axis-open border-radius hack and the
corresponding JS class toggle.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-01 20:03:57 +01:00
parent 18ebf24115
commit 8b94c5e0bd
3 changed files with 4 additions and 10 deletions
@@ -4295,7 +4295,6 @@ function drawSpectrum(data) {
function updateBookmarkAxis(range) {
const axisEl = document.getElementById("spectrum-bookmark-axis");
const freqAxisEl = document.getElementById("spectrum-freq-axis");
if (!axisEl) return;
const _bmRef = typeof bmList !== "undefined" ? bmList : null;
@@ -4305,7 +4304,6 @@ function updateBookmarkAxis(range) {
const hasVisible = visBookmarks.length > 0;
axisEl.classList.toggle("bm-axis-visible", hasVisible);
if (freqAxisEl) freqAxisEl.classList.toggle("bm-axis-open", hasVisible);
if (!hasVisible) {
if (axisEl.dataset.bmKey) { axisEl.innerHTML = ""; axisEl.dataset.bmKey = ""; }