Map 7/8 viewport, sociowall overlap restored

- Map takes 87.5vh (7/8 of screen)
- Sociowall overlaps map by 80px
- Fixed duplicate weather container on us1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
SocioWire 2026-01-11 00:45:00 +00:00
parent f529a03518
commit 774839e408
1 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
:root{ :root{
--sw-subcats-nudge: -45px; /* subcats vertical nudge */ --sw-subcats-nudge: -45px; /* subcats vertical nudge */
--sw-below-overlap: 0px; /* no overlap - sociowall sits below map */ --sw-below-overlap: 80px; /* sociowall overlaps map */
} }
.map-page{ .map-page{
@ -9,11 +9,11 @@
width:100%; width:100%;
} }
/* Map stage first - much taller, almost full screen */ /* Map stage - 7/8 of viewport on desktop */
.map-stage{ .map-stage{
position:relative; position:relative;
width:100%; width:100%;
height: clamp(600px, 85vh, 1000px); height: clamp(500px, 87.5vh, 1100px);
overflow: hidden; overflow: hidden;
} }
@ -117,8 +117,8 @@
/* Landscape: vh is small, but still keep map tall */ /* Landscape: vh is small, but still keep map tall */
@media (orientation: landscape){ @media (orientation: landscape){
:root{ --sw-below-overlap: 0px; } :root{ --sw-below-overlap: 60px; }
.map-stage{ height: clamp(400px, 75vh, 800px); } .map-stage{ height: clamp(400px, 80vh, 900px); }
} }
.map-container, .map-container,
@ -140,9 +140,9 @@
z-index:30; z-index:30;
} }
/* BELOW MAP (scroll area) sits below map with spacing */ /* BELOW MAP (scroll area) overlaps map */
.below-stage{ .below-stage{
margin-top: 2rem; margin-top: calc(var(--sw-below-overlap) * -1);
position:relative; position:relative;
z-index:25; z-index:25;
padding: 0.5rem 1rem 1.5rem; padding: 0.5rem 1rem 1.5rem;