@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.js
CHANGED
|
@@ -11123,6 +11123,7 @@ function iconMarkupSizedFor(slot, markup) {
|
|
|
11123
11123
|
holder.innerHTML = markup;
|
|
11124
11124
|
const glyph = holder.querySelector(GLYPH_SELECTOR);
|
|
11125
11125
|
if (!glyph) return markup;
|
|
11126
|
+
glyph.style.display = "block";
|
|
11126
11127
|
if (!box) {
|
|
11127
11128
|
glyph.style.width = "1.5em";
|
|
11128
11129
|
glyph.style.height = "1.5em";
|
|
@@ -18342,6 +18343,15 @@ function OhhwellsBridge() {
|
|
|
18342
18343
|
[style*="100vh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18343
18344
|
[style*="100svh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18344
18345
|
[style*="100dvh"] { min-height: ${initialVh}px !important; height: ${initialVh}px !important; }
|
|
18346
|
+
/* A section written as min-height: var(--ohw-canvas-h, 100svh) \u2014 the documented way to
|
|
18347
|
+
build a full-viewport section that still grows for its own content \u2014 matches the three
|
|
18348
|
+
rules above on substring alone, since the fallback text contains "100svh" too. Forcing
|
|
18349
|
+
a literal height on top of that turns "at least one screen" into "exactly one screen",
|
|
18350
|
+
so content taller than one screen (a long mobile hero, say) overflows a centered flex
|
|
18351
|
+
column upward, under whatever sits above it. Only the min-height half belongs to it. */
|
|
18352
|
+
[style*="min-height"][style*="100vh"],
|
|
18353
|
+
[style*="min-height"][style*="100svh"],
|
|
18354
|
+
[style*="min-height"][style*="100dvh"] { height: auto !important; }
|
|
18345
18355
|
/* Emptied text keeps somewhere to click. A label typed down to nothing collapses to a
|
|
18346
18356
|
couple of pixels, and getting back into it meant hunting for the caret with the mouse.
|
|
18347
18357
|
Edit mode only \u2014 the published page shows nothing where there is nothing (OHH-736). */
|
|
@@ -21169,7 +21179,7 @@ function OhhwellsBridge() {
|
|
|
21169
21179
|
postToParent2({
|
|
21170
21180
|
type: "ow:ready",
|
|
21171
21181
|
version: "1",
|
|
21172
|
-
bridgeVersion: "0.1.
|
|
21182
|
+
bridgeVersion: "0.1.86",
|
|
21173
21183
|
path: pathname,
|
|
21174
21184
|
nodes: collectEditableNodes(editContentRef.current),
|
|
21175
21185
|
sections
|