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:
parent
f529a03518
commit
774839e408
|
|
@ -1,6 +1,6 @@
|
|||
:root{
|
||||
--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{
|
||||
|
|
@ -9,11 +9,11 @@
|
|||
width:100%;
|
||||
}
|
||||
|
||||
/* Map stage first - much taller, almost full screen */
|
||||
/* Map stage - 7/8 of viewport on desktop */
|
||||
.map-stage{
|
||||
position:relative;
|
||||
width:100%;
|
||||
height: clamp(600px, 85vh, 1000px);
|
||||
height: clamp(500px, 87.5vh, 1100px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -117,8 +117,8 @@
|
|||
|
||||
/* Landscape: vh is small, but still keep map tall */
|
||||
@media (orientation: landscape){
|
||||
:root{ --sw-below-overlap: 0px; }
|
||||
.map-stage{ height: clamp(400px, 75vh, 800px); }
|
||||
:root{ --sw-below-overlap: 60px; }
|
||||
.map-stage{ height: clamp(400px, 80vh, 900px); }
|
||||
}
|
||||
|
||||
.map-container,
|
||||
|
|
@ -140,9 +140,9 @@
|
|||
z-index:30;
|
||||
}
|
||||
|
||||
/* BELOW MAP (scroll area) – sits below map with spacing */
|
||||
/* BELOW MAP (scroll area) – overlaps map */
|
||||
.below-stage{
|
||||
margin-top: 2rem;
|
||||
margin-top: calc(var(--sw-below-overlap) * -1);
|
||||
position:relative;
|
||||
z-index:25;
|
||||
padding: 0.5rem 1rem 1.5rem;
|
||||
|
|
|
|||
Loading…
Reference in New Issue