diff --git a/frontend/src/components/locations/LocationsPage.tsx b/frontend/src/components/locations/LocationsPage.tsx index 3174292..b52ba36 100644 --- a/frontend/src/components/locations/LocationsPage.tsx +++ b/frontend/src/components/locations/LocationsPage.tsx @@ -291,21 +291,19 @@ export default function LocationsPage() {

Locations

-
- setActiveFilters([])} - onTogglePinned={() => setShowPinned((v) => !v)} - onToggleCategory={handleToggleCategory} - onSelectAllCategories={selectAllCategories} - onReorderCategories={reorderCategories} - searchValue={search} - onSearchChange={setSearch} - /> -
+ setActiveFilters([])} + onTogglePinned={() => setShowPinned((v) => !v)} + onToggleCategory={handleToggleCategory} + onSelectAllCategories={selectAllCategories} + onReorderCategories={reorderCategories} + searchValue={search} + onSearchChange={setSearch} + /> + + {/* Pinned pill */} + + + {/* Extra pinned filters (e.g. "Umbral") */} + {extraPinnedFilters.map((epf) => ( + + ))} - {/* Pinned pill */} + {/* Categories pill */} + {categories.length > 0 && ( + )} - {/* Extra pinned filters (e.g. "Umbral") */} - {extraPinnedFilters.map((epf) => ( - - ))} - - {/* Categories pill */} - {categories.length > 0 && ( - - )} - - {/* Search */} -
-
- - onSearchChange(e.target.value)} - className="w-28 sm:w-52 h-8 pl-8 text-sm ring-inset" - aria-label="Search" - /> -
-
- - {/* Expanded categories row — shows below on mobile, inline on desktop */} + {/* Expanded category chips — inline after Categories pill */} {categories.length > 0 && otherOpen && ( -
- {/* "All" chip inside categories — non-draggable */} + <> +
{onSelectAllCategories && ( )} - - {/* Draggable category chips */} -
+ )} + + {/* Search — pushed to the right */} +
+
+ + onSearchChange(e.target.value)} + className="w-28 sm:w-52 h-8 pl-8 text-sm ring-inset" + aria-label="Search" + /> +
); } diff --git a/frontend/src/components/todos/TodosPage.tsx b/frontend/src/components/todos/TodosPage.tsx index 699fc6d..c549ae5 100644 --- a/frontend/src/components/todos/TodosPage.tsx +++ b/frontend/src/components/todos/TodosPage.tsx @@ -168,21 +168,19 @@ export default function TodosPage() {
{/* Category filter bar (All + Completed + Categories with drag) */} -
- -
+