From a303a505a6c0e46ec681203c401fed20b8f445d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Sep 2026 06:09:50 +0300 Subject: [PATCH] The search field wears the dropdown's own type-as-filter input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The box keeps the filterbar's anatomy — label inline, same geometry as Sort and Project — and the input inside is the panel search the house already had: no border of its own, an accent rule when focused, the value elastic instead of squeezed. --- crates/izlek-web/src/board.rs | 2 +- style/main.scss | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/crates/izlek-web/src/board.rs b/crates/izlek-web/src/board.rs index 40e262e..659e230 100644 --- a/crates/izlek-web/src/board.rs +++ b/crates/izlek-web/src/board.rs @@ -710,7 +710,7 @@ pub async fn board_page(cx: &Cx, user: &User) -> Result { (t(lang, Key::Search)) - +
if overdue > 0 { (format!("{overdue} {}", t(lang, Key::Overdue))) } diff --git a/style/main.scss b/style/main.scss index 0b2802f..82b510b 100644 --- a/style/main.scss +++ b/style/main.scss @@ -1938,27 +1938,23 @@ img.avatar { } } -// The board's search field wears the same recessed box as the Sort and -// Project selects; the input inside gives up its own border and height the -// way the selects do, and the box shrinks before the chips do when the -// 390px rail wraps. +// The board's search field is the bar's third field-box, and its typing +// area is the house's own type-as-filter input: the rules `.dd-search` +// wears inside dropdown panels, freed of the panel-only block geometry and +// filling the box past its label. .field-box-search { - flex: 0 1 190px; + flex: 0 1 240px; + min-width: 0; .field-text { flex: none; } - .field-input { + .dd-search { flex: 1; min-width: 0; + width: auto; height: auto; + margin-bottom: 0; padding: 0; - border: none; - background: transparent; - - &:focus-visible { - background: transparent; - border: none; - } } }