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.
This commit is contained in:
Mohammad
2026-11-24 01:59:47 -08:00
committed by GitHub
parent efee93efc4
commit bfb3e2f52f
+7 -1
View File
@@ -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 > * {