ferst-core 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -123,10 +123,17 @@ const { title, intro, columns = 2, provider = 'Google Maps', items = [] } = Astr
|
|
|
123
123
|
/* Map region — uniform ratio; the consent card fills it until the iframe loads. */
|
|
124
124
|
.b-locations__map { position: relative; aspect-ratio: 4 / 3; background: var(--bg-section); }
|
|
125
125
|
.b-loc-map, .b-loc-map__frame, .b-loc-map__consent, .b-loc-map__fallback { position: absolute; inset: 0; }
|
|
126
|
+
/* The frame slot sits AFTER the consent card (both inset:0), so while it's empty
|
|
127
|
+
it would paint on top and swallow clicks meant for the "Show map" button. Keep
|
|
128
|
+
an empty slot click-through; once the iframe is injected it's no longer :empty
|
|
129
|
+
and becomes interactive. The consent card is also lifted above it as a belt-
|
|
130
|
+
and-braces guard while it's visible. */
|
|
131
|
+
.b-loc-map__frame:empty { pointer-events: none; }
|
|
126
132
|
.b-loc-map__frame :global(iframe) { display: block; }
|
|
127
133
|
.b-loc-map__consent {
|
|
128
134
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
129
135
|
gap: 0.75rem; padding: 1.5rem; text-align: center;
|
|
136
|
+
z-index: 1;
|
|
130
137
|
}
|
|
131
138
|
.b-loc-map__consent[hidden] { display: none; }
|
|
132
139
|
.b-loc-map__text { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 32ch; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ferst-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ferst Core — the shared, brand-agnostic client-site system: Astro components, layouts, content schemas, the layered config resolver, and a neutral styling architecture that every client overrides.",
|
|
6
6
|
"license": "BUSL-1.1",
|