diff --git a/frontend/css/styles.css b/frontend/css/styles.css index 28d8214..f580eaa 100644 --- a/frontend/css/styles.css +++ b/frontend/css/styles.css @@ -726,9 +726,11 @@ select { .workout-screen .btn-primary, .workout-screen .btn-secondary { margin-top: 8px; width: 100%; } /* HR on/off toggle on the record screen (replaces the wind button): grey = off, coloured = on. */ -.rec-hr-toggle { color: #888; display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 6px 10px; } +.rec-hr-toggle { color: #888; display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 6px 10px; } .rec-hr-toggle svg { display: block; } .rec-hr-toggle.active { color: #ef5350; background: rgba(239, 83, 80, 0.18); } +.rec-hr-num { font-size: 14px; font-weight: 700; min-width: 0; } +.rec-hr-num:empty { display: none; } /* Progress fill for long-running action buttons: the background fills left-to-right by --pct (0-100%, set from JS). The label stays on top and readable; the unfilled part keeps diff --git a/frontend/js/main.js b/frontend/js/main.js index 2e0d2b8..615aa17 100644 --- a/frontend/js/main.js +++ b/frontend/js/main.js @@ -4602,7 +4602,7 @@ async function renderRecordingInline(container) {