From c6088bb2dec11e6a1af407ab57305b27784dbeec Mon Sep 17 00:00:00 2001 From: rouggy Date: Thu, 30 Jul 2026 21:39:50 +0200 Subject: [PATCH] fix: the stop button overlapped the recording counter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two absolutely-positioned boxes at guessed offsets: right-14 and right-2. They collided as soon as the counter passed a minute and the text grew — a layout that only looked right for the first 60 seconds, and did not even manage that at this font size. One flex row with a gap, so spacing is a consequence of the content rather than an arithmetic guess about it. The callsign field also gains right padding while the badges are shown, so a long call runs under them instead of being typed over. --- frontend/src/App.tsx | 50 +++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index f80d58b..0ff75f2 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -3735,7 +3735,7 @@ export default function App() { recording. Both sit where the counter is, which has shifted left to make room. */} {recording && recStopped && RECORDABLE_MODES.has(mode.toUpperCase()) && ( - + - )} - {recording && !recStopped && RECORDABLE_MODES.has(mode.toUpperCase()) && ( - + + + + )}