diff --git a/CHANGELOG.md b/CHANGELOG.md index e7052ae..a5204e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The application version is maintained in `package.json` and displayed in the adm No changes recorded yet. +## 1.89.48 - 2026-11-16 + +- Checkboxes everywhere sit in front of their text again. The general field style stretched them across the whole cell and stacked them above the text (e.g. Settings → OBS config, the race wizard), so a box often looked like it belonged to the next field. + ## 1.89.47 - 2026-11-16 - Manage → Race actions: the buttons are laid out as the steps of the day, each with a short explanation: 1. After practice (Generate qualifying from practice), 2. Between qualifying rounds, optional ("Reseed upcoming qualifying" is now called Regroup qualifying heats not run yet), 3. After qualifying (finals and bump-ups). The clear buttons are folded under Redo. diff --git a/package-lock.json b/package-lock.json index b455e70..c8360e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rc-racecore", - "version": "1.89.47", + "version": "1.89.48", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rc-racecore", - "version": "1.89.47", + "version": "1.89.48", "hasInstallScript": true, "license": "AGPL-3.0-or-later", "dependencies": { diff --git a/package.json b/package.json index fdb55b9..7080613 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-racecore", - "version": "1.89.47", + "version": "1.89.48", "private": true, "license": "AGPL-3.0-or-later", "description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence", diff --git a/src/styles.css b/src/styles.css index a36d497..60fa0de 100644 --- a/src/styles.css +++ b/src/styles.css @@ -2382,6 +2382,33 @@ select:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 18%, transparent); } +/* Checkboxes and radios keep their own size and sit in front of their text. The field rule + above (width: 100%) stretched them across the cell, and .form-grid > label (a grid) stacked + them above the text, so a box often looked like it belonged to the next field. */ +input[type="checkbox"], +input[type="radio"] { + width: 18px; + height: 18px; + min-width: 18px; + flex: 0 0 auto; + margin: 0; + padding: 0; + accent-color: var(--accent-2); +} + +label.toggle, +.form-grid > label.toggle { + display: inline-flex; + align-items: center; + gap: 10px; + cursor: pointer; +} + +.form-grid > label.toggle { + display: flex; + align-self: center; +} + .log-box { margin: 10px 0 0; min-height: 120px;