diff --git a/plugin-designs/regions-dashboard/region-dashboards.vue b/plugin-designs/regions-dashboard/region-dashboards.vue index 291e1cc6a..c611252a7 100644 --- a/plugin-designs/regions-dashboard/region-dashboards.vue +++ b/plugin-designs/regions-dashboard/region-dashboards.vue @@ -1025,9 +1025,15 @@ useShadowStyles( // ★ AND ON THESE SMALL MAPS: the LEFT scroll-past strip is off (a thumb pinches from the right edge too, and // two strips left almost no map to pinch), and the people-group popup is compact and lets a pinch through // (its body passes touches to the map; its links and close button still take them). + // ★ THE CARD FILLS THE COMPACT BOX. RegionCountryMap's card is a fixed 240px (their desktop popup), so inside the + // 220px box it overhung by 40px: the stat values, the second button and, in Arabic, the name under the close + // button, cut off at the edge (embedded and in the gallery alike). Here the box is 220px and the card takes its + // inner width; the name keeps clear of the close button, which sits top-right in both directions. '@media (max-width:768px){ .rd-mapframe .rcm{ aspect-ratio:2/3; }' + ' .rd-mapframe .map-scroll-edge--left{ display:none; }' + - ' .rd-mapframe .maplibregl-popup-content, .rd-mapframe .mapboxgl-popup-content{ max-width:220px; padding:8px 10px; font-size:12.5px; pointer-events:none; }' + + ' .rd-mapframe .maplibregl-popup-content, .rd-mapframe .mapboxgl-popup-content{ width:220px; max-width:220px; padding:8px 10px; font-size:12.5px; pointer-events:none; }' + + ' .rd-mapframe .cm-popup{ width:auto; }' + + ' .rd-mapframe .cm-popup__name{ padding-right:18px; }' + ' .rd-mapframe .maplibregl-popup-content a, .rd-mapframe .mapboxgl-popup-content a,' + ' .rd-mapframe .maplibregl-popup-close-button, .rd-mapframe .mapboxgl-popup-close-button{ pointer-events:auto; }' + ' .rd-mapframe .maplibregl-popup-content img, .rd-mapframe .mapboxgl-popup-content img{ max-height:90px; width:auto; max-width:100%; } }' + diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index d929b9ec6..083dfdcb8 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -200,7 +200,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "dx-maps/country-posters/country-posters.js", - "integrity": "sha384-4S1/mKeD6mmon0CIvi68gbZwE21GNamvzGqlGU9d6Fti/icDbaDqh0LV/vFdVEZj", + "integrity": "sha384-6KJjwdoWrGM2AOo29nuL8QGinCzoG5yzcogzIKVD7JsHu7Av50GS8QTCu6TC7ymF", "elements": [ "country-posters-map" ], @@ -223,8 +223,8 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } }, { @@ -240,7 +240,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -256,8 +256,8 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } } ] @@ -1126,7 +1126,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-DGlK4bNue+R5evCOfwEURiQtyoMIn6q+ZWiq8/aKwt1DGEi0XfKeAZ/n/GNHPQfC", + "integrity": "sha384-f6B+SLsi+gRQ9UwpDDTjMOeTMBxOerzsJNsVm+58KdvXkrokGLN2/I0GuB5nabph", "elements": [ "regions-dashboard" ], @@ -1149,8 +1149,8 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } }, { @@ -1166,7 +1166,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -1182,8 +1182,8 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } } ] diff --git a/public/dx-maps/manifest.json b/public/dx-maps/manifest.json index d929b9ec6..083dfdcb8 100644 --- a/public/dx-maps/manifest.json +++ b/public/dx-maps/manifest.json @@ -200,7 +200,7 @@ "bundle": "country-posters", "scriptUrl": "./country-posters/country-posters.js", "output": "dx-maps/country-posters/country-posters.js", - "integrity": "sha384-4S1/mKeD6mmon0CIvi68gbZwE21GNamvzGqlGU9d6Fti/icDbaDqh0LV/vFdVEZj", + "integrity": "sha384-6KJjwdoWrGM2AOo29nuL8QGinCzoG5yzcogzIKVD7JsHu7Av50GS8QTCu6TC7ymF", "elements": [ "country-posters-map" ], @@ -223,8 +223,8 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } }, { @@ -240,7 +240,7 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -256,8 +256,8 @@ "scriptUrl": "./country-posters/country-posters.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } } ] @@ -1126,7 +1126,7 @@ "bundle": "regions-dashboard", "scriptUrl": "./regions-dashboard/regions-dashboard.js", "output": "dx-maps/regions-dashboard/regions-dashboard.js", - "integrity": "sha384-DGlK4bNue+R5evCOfwEURiQtyoMIn6q+ZWiq8/aKwt1DGEi0XfKeAZ/n/GNHPQfC", + "integrity": "sha384-f6B+SLsi+gRQ9UwpDDTjMOeTMBxOerzsJNsVm+58KdvXkrokGLN2/I0GuB5nabph", "elements": [ "regions-dashboard" ], @@ -1149,8 +1149,8 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } }, { @@ -1166,7 +1166,7 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -1182,8 +1182,8 @@ "scriptUrl": "./regions-dashboard/regions-dashboard.js", "embed": { "iframe": "", - "script": "\n\n\n\n\n\n", - "scriptMapbox": "\n\n\n\n\n\n" + "script": "\n\n\n\n\n\n", + "scriptMapbox": "\n\n\n\n\n\n" } } ] diff --git a/public/dx-maps/regions-dashboard/region-dashboards/index.html b/public/dx-maps/regions-dashboard/region-dashboards/index.html index c15d8f102..94f0111c9 100644 --- a/public/dx-maps/regions-dashboard/region-dashboards/index.html +++ b/public/dx-maps/regions-dashboard/region-dashboards/index.html @@ -76,7 +76,7 @@ - + - + - +