feat(ui): consolidate search/filter area into cleaner 2-row layout
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 32s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m4s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 31s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 32s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m4s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 31s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s
Before: 7 visual rows (search, radius row, phase row, advanced toggle,
teal location banner, results count, filter chips).
After: 2 rows in card + 1 unified results toolbar.
- FilterBar: merge radius, phase, and Advanced toggle into a single
.controlsRow below the search bar; removed orphaned stacked rows
- HomeView: remove separate teal location banner; merge location info
into results heading ("16 schools within 1.0 miles of SW196AR");
move List/Map toggle inline with sort in one results header row
- Remove "Near postcode (Xmi)" chip (now redundant with heading)
- Sort select hidden in map view (sorting is meaningless there)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,33 +33,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.locationBannerWrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.locationBanner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: var(--accent-teal-bg);
|
||||
border: 1px solid rgba(45, 125, 125, 0.25);
|
||||
border-radius: 8px;
|
||||
font-size: 0.875rem;
|
||||
color: var(--accent-teal, #2d7d7d);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.locationIcon {
|
||||
font-size: 1.25rem;
|
||||
color: var(--accent-teal, #2d7d7d);
|
||||
}
|
||||
|
||||
/* View Toggle */
|
||||
.viewToggle {
|
||||
display: flex;
|
||||
@@ -308,16 +281,14 @@
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.locationBannerWrapper {
|
||||
.resultsHeader {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
margin-bottom: 0.75rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.locationBanner {
|
||||
padding: 0.5rem 0.75rem;
|
||||
font-size: 0.8125rem;
|
||||
border-radius: 6px;
|
||||
.resultsHeaderActions {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.viewToggle {
|
||||
@@ -509,6 +480,13 @@
|
||||
padding: 0 0 1rem;
|
||||
}
|
||||
|
||||
.resultsHeaderActions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sortSelect {
|
||||
padding: 0.375rem 0.75rem;
|
||||
border: 1px solid var(--border-color, #e0ddd8);
|
||||
|
||||
Reference in New Issue
Block a user