Skip to content

Repository: Align expanded Code search controls - #39

Merged
whereareiam merged 1 commit into
devfrom
fix/code-search-control
Sep 5, 2026
Merged

Repository: Align expanded Code search controls#39
whereareiam merged 1 commit into
devfrom
fix/code-search-control

Conversation

@whereareiam

Copy link
Copy Markdown
Owner

The Code dropdown’s expanded search combined mismatched standalone input, dropdown, and button styles: the mode selector had extra rounding/padding and a different height, and the search button was misaligned.

Introduce an opt-in shared search-control style with one 32px outer frame, a flexible query field, compact mode selector, centered icons, and consistent focus states. Preserve Forgejo’s native Exact/Union/RegExp modes and submission. Anchor the mobile Code popover to the toolbar so the search field stays within the viewport.

Validation: bun commit and all 351 tests pass. Chrome screenshots and measurements verified equal child heights, light/dark focus treatment, mobile viewport containment, mode selection, and a successful RegExp search. The separate collapsed-spacing fix is #38.

@whereareiam whereareiam added the bug Something isn't working label Sep 5, 2026
@whereareiam
whereareiam merged commit f4bb091 into dev Sep 5, 2026
8 of 9 checks passed
@whereareiam
whereareiam deleted the fix/code-search-control branch September 5, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant