Search: make the advanced panel usable on a phone #98

Merged
jcoffey-dev merged 1 commits from fix/94-search-panel-phone into main 2026-11-16 15:55:51 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 573f6e3965 Search: make the advanced panel usable on a phone
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m44s
ci / announce (pull_request) Skipped
The bar's rule for its own input (`.searchbar input`) matched every
input in the advanced panel too, since the panel sits in the same form:
the text fields lost their borders, the checkboxes shrank to nothing.
That was true at any width. On a phone the panel also hung from the
search field, which is only what the menu, logo and account buttons
leave, so it was a sliver with its buttons pushed out of it.

The rule now covers only the bar's field. At phone width the panel
spans the top bar in one column, the button row wraps, and the panel
scrolls if it runs short. It also closes on a tap outside it, on
Escape and when the page changes, since the bar stays on screen.

Fixes #94
2026-11-16 08:38:33 -07:00