style(flex): narrow the chaser's offset box, give it room

An offset is a handful of Hz, never a wide number, and the box sat flush
against the button it belongs to.
This commit is contained in:
2026-08-23 19:23:01 +02:00
parent b2165173cf
commit fbf3cd116b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -708,7 +708,7 @@ export function FlexPanel({ onCWSpeed, onReportRST }: { onCWSpeed?: (wpm: number
className="w-16 h-6 rounded border border-input bg-background px-1 text-[11px] font-mono uppercase" />
)}
{rstChase.enabled && (
<label className="flex items-center gap-1 text-[11px] text-muted-foreground whitespace-nowrap">
<label className="flex items-center gap-1 text-[11px] text-muted-foreground whitespace-nowrap ml-2">
{t('flxp.rstChaseOffset')}
<input type="number" step={10} value={rstChaseOffsetText}
onChange={(e) => setRstChaseOffsetText(e.target.value)}
@@ -721,7 +721,7 @@ export function FlexPanel({ onCWSpeed, onReportRST }: { onCWSpeed?: (wpm: number
const next = { ...rstChase, offset_hz: v };
setRstChase(next); SaveFlexRSTChase(next as any).catch(() => {});
}}
className="w-16 h-6 rounded border border-input bg-background px-1 text-[11px] font-mono" />
className="w-12 h-6 rounded border border-input bg-background px-1 text-[11px] font-mono" />
Hz
</label>
)}