@ohhwells/bridge 0.1.85 → 0.1.87
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.
- package/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11196,6 +11196,7 @@ function iconMarkupSizedFor(slot, markup) {
|
|
|
11196
11196
|
holder.innerHTML = markup;
|
|
11197
11197
|
const glyph = holder.querySelector(GLYPH_SELECTOR);
|
|
11198
11198
|
if (!glyph) return markup;
|
|
11199
|
+
glyph.style.display = "block";
|
|
11199
11200
|
if (!box) {
|
|
11200
11201
|
glyph.style.width = "1.5em";
|
|
11201
11202
|
glyph.style.height = "1.5em";
|
|
@@ -18409,6 +18410,15 @@ function OhhwellsBridge() {
|
|
|
18409
18410
|
[style*="100vh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18410
18411
|
[style*="100svh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18411
18412
|
[style*="100dvh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18413
|
+
/* A section written as min-height: var(--ohw-canvas-h, 100svh) \u2014 the documented way to
|
|
18414
|
+
build a full-viewport section that still grows for its own content \u2014 matches the three
|
|
18415
|
+
rules above on substring alone, since the fallback text contains "100svh" too. Forcing
|
|
18416
|
+
a literal height on top of that turns "at least one screen" into "exactly one screen",
|
|
18417
|
+
so content taller than one screen (a long mobile hero, say) overflows a centered flex
|
|
18418
|
+
column upward, under whatever sits above it. Only the min-height half belongs to it. */
|
|
18419
|
+
[style*="min-height"][style*="100vh"],
|
|
18420
|
+
[style*="min-height"][style*="100svh"],
|
|
18421
|
+
[style*="min-height"][style*="100dvh"] { height: auto !important; }
|
|
18412
18422
|
/* Emptied text keeps somewhere to click. A label typed down to nothing collapses to a
|
|
18413
18423
|
couple of pixels, and getting back into it meant hunting for the caret with the mouse.
|
|
18414
18424
|
Edit mode only \u2014 the published page shows nothing where there is nothing (OHH-736). */
|
|
@@ -21236,7 +21246,7 @@ function OhhwellsBridge() {
|
|
|
21236
21246
|
postToParent2({
|
|
21237
21247
|
type: "ow:ready",
|
|
21238
21248
|
version: "1",
|
|
21239
|
-
bridgeVersion: "0.1.
|
|
21249
|
+
bridgeVersion: "0.1.86",
|
|
21240
21250
|
path: pathname,
|
|
21241
21251
|
nodes: collectEditableNodes(editContentRef.current),
|
|
21242
21252
|
sections
|