[fix](trx-frontend): tighten two-state step scale toggle

Resize the step scale control so it reads as a balanced two-option toggle instead of a leftover segmented control.

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-01 10:27:11 +01:00
parent 816780aa6b
commit 93108c1248
@@ -417,19 +417,22 @@ button:disabled { opacity: 0.6; cursor: not-allowed; }
justify-content: flex-end; justify-content: flex-end;
} }
.jog-mult { .jog-mult {
display: flex; display: inline-grid;
grid-template-columns: repeat(2, minmax(0, auto));
border: 1px solid var(--border-light); border: 1px solid var(--border-light);
border-radius: 6px; border-radius: 6px;
overflow: hidden; overflow: hidden;
height: 3.35rem; height: 3.35rem;
flex-shrink: 0; flex-shrink: 0;
width: auto;
} }
.jog-mult button { .jog-mult button {
min-width: 3.15rem;
border: none; border: none;
border-right: 1px solid var(--border-light); border-right: 1px solid var(--border-light);
border-radius: 0; border-radius: 0;
height: 100%; height: 100%;
padding: 0 0.5rem; padding: 0 0.7rem;
font-size: 0.85rem; font-size: 0.85rem;
background: var(--input-bg); background: var(--input-bg);
color: var(--text-muted); color: var(--text-muted);