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