From 8fccfa29b10bb19c6a16f114a94929e6b94c7d27 Mon Sep 17 00:00:00 2001 From: Gregory Salaun Date: Thu, 13 Aug 2026 11:48:59 +0200 Subject: [PATCH] fix(rotator): the SP/LP readout goes BELOW the dial The wrapper around the svg was a flex ROW, so a sibling landed beside the compass instead of under it. Column, and the readout spans the full width. --- app.go | 5 +++-- frontend/src/components/RotorCompass.tsx | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app.go b/app.go index 589ba9a..ed03794 100644 --- a/app.go +++ b/app.go @@ -1406,8 +1406,9 @@ func (a *App) startup(ctx context.Context) { // Anonymous usage heartbeat (once/day) so we can gauge active users. No-op // when disabled in Preferences or until the PostHog key is configured. go a.sendTelemetryHeartbeat() - go a.liveStatusLoop() // multi-op: heartbeat current activity to shared MySQL - go a.chatLoop() // multi-op: poll the shared chat + heartbeat presence + go a.liveStatusLoop() // multi-op: heartbeat current activity to shared MySQL + go a.chatLoop() // multi-op: poll the shared chat + heartbeat presence + go a.hrdlogOnAirLoop() // publish frequency/mode/rig on hrdlog.net when enabled // Locator store BEFORE the feed: the feed asks whether it exists to decide // which bands to subscribe to. a.startGridCache() diff --git a/frontend/src/components/RotorCompass.tsx b/frontend/src/components/RotorCompass.tsx index f156581..fe05add 100644 --- a/frontend/src/components/RotorCompass.tsx +++ b/frontend/src/components/RotorCompass.tsx @@ -128,7 +128,9 @@ export function RotorCompass({ bearing, headings, boomHeading, pattern, centerLa )} -
+ {/* flex-col: the readout goes BELOW the dial. This wrapper was a row, so a + sibling of the landed beside it. */} +
+
{([['SP', bearing ?? null], ['LP', bearing == null ? null : (bearing + 180) % 360]] as const).map(([lbl, az]) => (