Fix map view layout and z-index issues
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s

- Move location-info banner above map view as full-width bar
- Set fixed height for map view container with equal map/list heights
- Add z-index to map to prevent overlap with sticky header
- Update mobile responsive styles for consistent heights

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-01-15 11:36:08 +00:00
parent fb30f43ef7
commit 1913af4e7f
2 changed files with 13 additions and 10 deletions

View File

@@ -601,8 +601,8 @@ function updateLocationInfoBanner(searchLocation) {
<span>Showing schools within ${searchLocation.radius} miles of <strong>${searchLocation.postcode.toUpperCase()}</strong></span>
`;
// Insert banner before the schools grid
elements.schoolsGrid.parentNode.insertBefore(banner, elements.schoolsGrid);
// Insert banner before the results container (above map view)
elements.resultsContainer.parentNode.insertBefore(banner, elements.resultsContainer);
}
async function searchByLocation() {