At two posters per row on a phone (a ~162px card) the print row wraps to three lines, and because it is a sticker pinned over the banner's bottom edge that grows downward, it hung about 45px below the card's white box. Each card is now fitted to its own row: a ResizeObserver on every .pfs writes --pfs-room on its card when the row hangs past the white box (the part below the banner, plus 8px of daylight, that the 26px bottom padding does not cover). A row that fits writes 0, so every card that already contained its row is unchanged. check:poster-card-fits asserts it: a print row may not end below its own card (below-card N). Rebuilt: my-upg-100-list, country-posters, regions-dashboard; the tree and SRI regenerated. |
||
|---|---|---|
| .. | ||
| charts | ||
| dashboards | ||
| hints | ||
| info | ||
| legends | ||
| map-controls | ||
| maps | ||
| poster | ||
| qa | ||
| regions | ||
| search | ||
| tables | ||
| BackToTopButton.vue | ||
| LargerScreenNotice.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.