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