From bfb3e2f52f7f4f3e08f1a1f189c6f3a8d0d40140 Mon Sep 17 00:00:00 2001 From: Mohammad <153328465+Mo7amadd@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:59:47 -0800 Subject: [PATCH] fix(clients): keep the mobile search/filter bar in view while scrolling (#7085) With 100 or 200 clients per page the mobile card list is several screens long, and the search box, filter button and sort selector scrolled away with it. Make the mobile filter bar sticky just below the fixed drawer handle, with the card background so cards do not show through and the same padding stuck or not so the list never jumps. --- frontend/src/pages/clients/ClientsPage.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/clients/ClientsPage.css b/frontend/src/pages/clients/ClientsPage.css index 17795ad03..bdb9a9986 100644 --- a/frontend/src/pages/clients/ClientsPage.css +++ b/frontend/src/pages/clients/ClientsPage.css @@ -31,9 +31,15 @@ margin-bottom: 12px; } +/* Sticks below the fixed drawer handle (12px + 40px) rather than under it. */ .filter-bar.mobile { + position: sticky; + top: 60px; + z-index: 10; gap: 6px; - margin-bottom: 8px; + margin: 0 -12px 8px; + padding: 6px 12px; + background: var(--bg-card); } .filter-bar.mobile > * {