From 7950776b5b65ae5ec3fd5951f6ef49f930fe5be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 6 Sep 2026 15:55:00 +0300 Subject: [PATCH] =?UTF-8?q?feat(ui):=20filterbars=20split=20=E2=80=94=20se?= =?UTF-8?q?arch=20leads=20left,=20listing=20controls=20hold=20right?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The drive bar packed everything from the left, leaving dead space off the +. The search form now carries the spring (margin-right: auto) in every filterbar, and the trash/shared bars lead with their search form like the drive does, so all three read the same: search on the left, sort/kind/+ on the right. --- crates/in-web/src/share.rs | 26 +++++++++++++------------- crates/in-web/src/trash.rs | 26 +++++++++++++------------- style/main.scss | 5 +++++ 3 files changed, 31 insertions(+), 26 deletions(-) diff --git a/crates/in-web/src/share.rs b/crates/in-web/src/share.rs index 586fa9f..1530be8 100644 --- a/crates/in-web/src/share.rs +++ b/crates/in-web/src/share.rs @@ -998,6 +998,19 @@ async fn shared(cx: &Cx) -> Result {

(t(language, Key::SharedWithMe))

+
(t(language, Key::Sort))
-
diff --git a/crates/in-web/src/trash.rs b/crates/in-web/src/trash.rs index e9e4ed4..1bea570 100644 --- a/crates/in-web/src/trash.rs +++ b/crates/in-web/src/trash.rs @@ -326,6 +326,19 @@ async fn trash(cx: &Cx) -> Result {

(t(language, Key::Trash))

+
(t(language, Key::Sort))
-
(refusal_banner(cx, language, &["restore", "purge", "empty"]).await?) if !nothing_trashed { diff --git a/style/main.scss b/style/main.scss index c7316bf..4ba6a7a 100644 --- a/style/main.scss +++ b/style/main.scss @@ -5034,6 +5034,11 @@ div.member-row + div.member-row { // holding the entry's menu. Everything here is token-painted, so the skins // carry it without their own rules. +// The bar's halves: the search field leads from the left and the listing +// controls hold the right edge — the search carries the spring. Shared by +// the drive, trash and shared bars, which all lead with the search form. +.filterbar .field-box-search { margin-right: auto; } + // The bar: the search field stretches, the sort/kind boxes hug their content, // and the + (now `.primary`) is the bar's one loud act. .drive-bar {