doxa-maps/plugin-designs/cities-internet
Doxa Maps eec16a8fd8 The list and the table painted thousands of pixels below their host box
Neither element had a :host rule at all, so each fell back to the custom-element
default — display:inline, no height of its own — while its root div carried
position:absolute;inset:0. Absolute positioning resolves against the nearest
POSITIONED ancestor, so on a partner page both resolved against the PARTNER's
layout rather than against this element.

rega measured it on a partner page with a 420px host box: connectivity-list
painted to y=16,799 and data-tables to y=1,698 — 16,355px and 1,254px below the
box, over whatever the partner had underneath.

The same fix as connectivity-map's (60cb4ff18), for the same reason:
  :host{display:block;position:relative;width:100%;height:100%;min-height:320px}
display:block gives the element a box; position:relative makes that box the
containing block; height:100% lets a definite-height slot decide; min-height is
the floor so an auto-height host grows to fit instead of collapsing.

NO NEW SCROLL CONTAINER WAS NEEDED. .ci and .ct already carry overflow-y:auto —
the scroller existed, it simply had no host to be bounded by. Once contained,
the list and the table scroll inside the box, which is what an embed should do
in a definite-height slot.

min-height is 320px here, not the map's 420px: regions-list.vue:408 is the house
pattern for list profiles, and a list is legible shorter than a map is.

(cherry picked from commit 08ad95fa86e64dfe043befb156e358c91319e511)
2026-09-29 14:38:46 +00:00
..
data Svalbard carries its own data, not Norway's 2026-09-27 05:05:04 +00:00
scripts India by state: all 36 states, Mizoram and Nagaland included 2026-09-26 08:13:34 +00:00
connectivity-list.meta.json Name the two unlabelled Cities with Internet profiles 2026-09-28 07:44:45 +00:00
connectivity-list.vue The list and the table painted thousands of pixels below their host box 2026-09-29 14:38:46 +00:00
connectivity-map.meta.json Plugin Studio and the gallery split production from experimental, from each bundle's own stage 2026-09-27 06:04:08 +00:00
connectivity-map.vue Two lists joined with an English comma in every locale 2026-09-29 14:01:38 +00:00
data-tables.meta.json Name the two unlabelled Cities with Internet profiles 2026-09-28 07:44:45 +00:00
data-tables.vue The list and the table painted thousands of pixels below their host box 2026-09-29 14:38:46 +00:00
index.html Session work: strobe fix, grid layout, stacked tree legend, selection camera, chip bounding, asset inheritance, gates 2026-09-20 04:49:25 +00:00
index.js Eleven plugin entries import the element helper they call 2026-09-28 17:40:35 +00:00