A collapsible section head is a <button> with width:100%, but it keeps the 2px side margins of .sec-head, so it overflowed the wall's content box by 4px. Its full-bleed ::before (left/right -20px) then reached 2px past the wall on each side, so every collapsible wall (Poster Design's Styles, Country Posters) had scrollWidth = clientWidth + 4 at 390, 768 and 1024. The head is now calc(100% - 4px), the width a non-collapsible head already gets. Measured on the built poster-design and country-posters bundles (div.wall scrollWidth vs clientWidth at 390/768/1024/1440): before, +4 at the first three widths on both walls; after, equal at all four. UPG-100's wall (no toggles) was already equal. |
||
|---|---|---|
| .. | ||
| 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 | ||
| ShellLanguageMenu.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.