On mobile the Card deck options tape slid under the cards below it. .pstocks hangs at top:100%, i.e. below its own card and over the next one. Every .card is position:relative with NO z-index, so they all sit at the same stacking level and later cards paint over earlier ones in document order. The tape's own z-index:2 only orders it WITHIN its card, which is why it looked correct on the last card of a row and vanished under the next card everywhere else. On a phone the grid is one column, so the very next card is directly beneath -- hence "really bad on mobile" rather than merely wrong. Raising the CARD while one of its tapes is open lifts the whole stacking context above its siblings. z-index 5 sits above any card and below the sticky section header at 6, so a revealed tape never covers the header the reader scrolls with -- a menu that hides its own navigation would be a worse bug than this one. The tape also gains a stronger shadow so it reads as sitting ON the card below rather than tangled with it; without an opaque, shadowed surface the next card's text shows through, which is the other half of what "underlapping" looks like. Covers both tapes -- the card sizes and the new packet variants -- since they share the disclosure. |
||
|---|---|---|
| .. | ||
| charts | ||
| dashboards | ||
| hints | ||
| legends | ||
| map-controls | ||
| poster | ||
| qa | ||
| regions | ||
| search | ||
| tables | ||
| BackToTopButton.vue | ||
| PeopleGroupDetail.vue | ||
| README.md | ||
| ResearchMapFilterPanel.vue | ||
| ResearchMapSideMenu.vue | ||
| SideMenuDrawer.vue | ||
| ViewSelect.vue | ||
| WARNING.md | ||
library/components/ — shared Vue components
The map UI, built from parameterized pieces every app-profile reuses. Fix one here and every map benefits — never edit a shared component to customize one map.
library/components/
┌───────────────────────────────────────────┐
│ legends/ map-controls/ poster/ │
│ charts/ tables/ │
│ PeopleGroupDetail.vue SideMenuDrawer.vue │
│ ResearchMapFilterPanel.vue …SideMenu.vue │
└───────────────────────────────────────────┘
reused by every app-profile via @map/components/…
legends/,map-controls/,poster/each have their own README.- Every component uses
<script setup>, callsuseShadowStyles(), and reaches stores viainject('mapStore' | 'uiStore' | 'dataStore')— never a direct store import.
Full catalog + conventions:
../../documentation/architecture/components.md ·
per-file roles: ../../documentation/reference.md.