Skip to content

fix(ui): drop the double border on searchable-select form inputs#642

Merged
CybotTM merged 1 commit into
mainfrom
fix/combobox-double-border
Jul 16, 2026
Merged

fix(ui): drop the double border on searchable-select form inputs#642
CybotTM merged 1 commit into
mainfrom
fix/combobox-double-border

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 16, 2026

Copy link
Copy Markdown
Member

Searchable-select fields on the settings/sync page (and every other form combobox) drew a double border: the outer .searchable-select wrapper carries the field box by design, but the shared .field input { border: 1px } rule also matched the inner .combobox-input, adding a second inner frame.

Fix

Exclude .combobox-input from the .field input box rule (base + :focus-visible), mirroring the existing :not(.date-field) exclusion. The input keeps its own border: 0; only the wrapper borders the control.

Verification

Computed styles on /ui/settings/sync (dark theme) after the change:

  • .searchable-selectborder: 1px solid rgb(60,67,75) (single frame)
  • .combobox-inputborder: 0px none (no inner frame)

Pre-existing since the combobox landed in v6.3.0; the same class of rule needed :not(.date-field) earlier.

The .field input box rule (1px border) also matched .combobox-input, which
sits inside .searchable-select — the wrapper that already carries the field's
border — so a second, inner frame was drawn. Exclude .combobox-input from the
rule (as .date-field already is) so only the wrapper borders the control.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI review requested due to automatic review settings July 16, 2026 11:37
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CSS styling in frontend/src/styles/app.css to exclude .combobox-input from the default .field input styling and focus-visible rules. This change prevents double borders because the wrapper element .searchable-select already handles the border styling. No review comments were provided, and I have no additional feedback to offer.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@CybotTM
CybotTM merged commit c596e5f into main Jul 16, 2026
17 of 18 checks passed
@CybotTM
CybotTM deleted the fix/combobox-double-border branch July 16, 2026 11:58
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.

2 participants