From bff75e0995c05015d5f39fa71fbf4122f300c6c4 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Wed, 30 Sep 2026 01:13:23 +0000 Subject: [PATCH] Gospel Resources: in Arabic the people-group card opens opposite the legend, not on it The desktop card was placed with right:14px while the legend sits at the inline start. In a right-to-left page the legend mirrors to the right and the card stayed there, so opening any people group or country covered the legend at every desktop width. The card now sits at the inline end, as Cities' copy of the same rule already did. English is unchanged. Rebuilds gospel-resources only, with its five pages and the two manifests. --- .../gospel-resources/resources-map.vue | 5 ++++- public/dx-maps/doxa-maps-spa/manifest.json | 16 ++++++++-------- .../dx-maps/gospel-resources/charts/index.html | 2 +- .../gospel-resources/data-tables/index.html | 2 +- .../gospel-resources/gospel-dashboard/index.html | 2 +- .../dx-maps/gospel-resources/gospel-resources.js | 2 +- .../gospel-resources/resources-list/index.html | 2 +- .../gospel-resources/resources-map/index.html | 2 +- public/dx-maps/manifest.json | 16 ++++++++-------- 9 files changed, 26 insertions(+), 23 deletions(-) diff --git a/plugin-designs/gospel-resources/resources-map.vue b/plugin-designs/gospel-resources/resources-map.vue index 0c391cebd..b98decdcc 100644 --- a/plugin-designs/gospel-resources/resources-map.vue +++ b/plugin-designs/gospel-resources/resources-map.vue @@ -2069,7 +2069,10 @@ useShadowStyles( '.gm-sheet{position:absolute;left:0;right:0;bottom:0;z-index:6;max-height:62%;overflow-y:auto;' + 'background:#fff;color:#0f1419;border-radius:14px 14px 0 0;padding:14px 16px 22px;' + "font:13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 -6px 26px rgba(0,0,0,.28)}" + - '@media(min-width:700px){.gm-sheet{left:auto;right:14px;bottom:14px;width:330px;border-radius:12px}}' + + // The corner card sits at the inline END, opposite the legend (inline START), in both directions. + // It said right:14px, so in Arabic the legend mirrored to the right and the card stayed on it, + // covering it at every desktop width. Cities' copy of this rule was already logical. + '@media(min-width:700px){.gm-sheet{inset-inline-start:auto;inset-inline-end:14px;bottom:14px;width:330px;border-radius:12px}}' + '.is-dark .gm-sheet{background:#132019;color:#e5e7eb}' + '.gm-sh-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}' + '.gm-sh-name{font-weight:800;font-size:18px}' + diff --git a/public/dx-maps/doxa-maps-spa/manifest.json b/public/dx-maps/doxa-maps-spa/manifest.json index 64f35eb9d..2e4b4bdbb 100644 --- a/public/dx-maps/doxa-maps-spa/manifest.json +++ b/public/dx-maps/doxa-maps-spa/manifest.json @@ -782,7 +782,7 @@ "bundle": "gospel-resources", "scriptUrl": "./gospel-resources/gospel-resources.js", "output": "dx-maps/gospel-resources/gospel-resources.js", - "integrity": "sha384-/QQxhzd4ReJmGPOhMrJ6ooWW9SpVrBbehqqzaMcQGehlDod3yPDjoGf3KyNjkZ+R", + "integrity": "sha384-VLKollilTWRGiqhbjYSdf1L46MFiwJAUgT1euaXKuAtJpSdFNEfn877+yVEJZRWM", "elements": [ "gospel-resources-map" ], @@ -805,7 +805,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -821,7 +821,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -837,8 +837,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } }, { @@ -854,7 +854,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -870,8 +870,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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/gospel-resources/charts/index.html b/public/dx-maps/gospel-resources/charts/index.html index e4abc4d79..562a9ef96 100644 --- a/public/dx-maps/gospel-resources/charts/index.html +++ b/public/dx-maps/gospel-resources/charts/index.html @@ -61,7 +61,7 @@ - + - + - + - + - + \n\n\n" + "script": "\n\n\n" } }, { @@ -821,7 +821,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -837,8 +837,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } }, { @@ -854,7 +854,7 @@ "scriptUrl": "./gospel-resources/gospel-resources.js", "embed": { "iframe": "", - "script": "\n\n\n" + "script": "\n\n\n" } }, { @@ -870,8 +870,8 @@ "scriptUrl": "./gospel-resources/gospel-resources.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" } } ]