Skip to content

Give the assessment dialog's Risk Inputs selects one width - #51

Merged
slominskir merged 1 commit into
mainfrom
risk-select-width
Nov 9, 2026
Merged

slominskir merged 1 commit into
mainfrom
risk-select-width

Conversation

@slominskir-coding-agent

Copy link
Copy Markdown
Contributor

What changed

The Risk & SQA Assessment dialog's six Risk Inputs selects each sized to their own longest option, leaving ragged right edges. The fieldset gets a risk-inputs class, and .risk-inputs select { width: 100%; } makes each fill the key-value list's value column. That column is a table column sized by its widest select, so all six match the longest without a fixed width.

No deployment steps, schema changes or upgrade SQL.

Checks

  • ./gradlew build: passes.
  • ./gradlew integrationTest against the rebuilt app: 51 tests, 0 failures. No case added: the change is a CSS rule, which the HTML-level integration tests cannot see, and the project has no browser tests.
  • Headless Chromium, as tbrown: all six selects measure 111px, the width of the widest before the change (Code Complexity and Past Downtime Rate).
  • docker compose logs sim: only the errors the integration tests trigger on purpose.

Decisions

  • Ryan asked for the selects to match the longest one. Filling the table column was chosen over a fixed em or px width, which would need changing if an option label grows.
  • The Override select in the SQA Control Level fieldset is left alone: it sits in a different table, beside the wide Rationale box.

Prepared-by: Anthropic Claude Code:claude-opus-5-5

🤖 Generated with Claude Code

The six Risk Inputs selects each sized to their own longest option, so
their right edges were ragged. Each now fills the key-value list's value
column, which the widest select sizes, so all match it without a fixed
width that would need updating with the option labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slominskir
slominskir merged commit eb90507 into main Nov 9, 2026
5 checks passed
@slominskir
slominskir deleted the risk-select-width branch November 9, 2026 20:12
@slominskir-coding-agent slominskir-coding-agent Bot mentioned this pull request Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant