fabrica

hanna/fabrica

fix(web): drop the top-bar search submit button

ed99f44 · hanna committed on 2026-07-25

The search input submits on Enter, so the adjacent icon button was
redundant.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +0 −1UnifiedSplit
crates/web/src/layout.rs +0 −1
@@ -74,7 +74,6 @@ fn topbar(chrome: &Chrome) -> Markup {
74 span class="slug" { a href="/" { (chrome.instance_name) } }74 span class="slug" { a href="/" { (chrome.instance_name) } }
75 form class="topbar-search" method="get" action="/search" role="search" {75 form class="topbar-search" method="get" action="/search" role="search" {
76 input type="search" name="q" placeholder="Search…" aria-label="Search";76 input type="search" name="q" placeholder="Search…" aria-label="Search";
77 button class="icon-btn" type="submit" aria-label="Search" { (icon(Icon::Search)) }
78 }77 }
79 }78 }
80 }79 }