@ohhwells/bridge 0.1.35 → 0.1.36

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
@@ -6203,9 +6203,9 @@ function clampToolbarToClip(top, transform, rect, clip, approxH, gap) {
6203
6203
  const pinnedTop = Math.min(maxBottom - approxH, Math.max(minTop, clip.top + gap));
6204
6204
  return { top: pinnedTop + approxH, transform: "translateX(-50%) translateY(-100%)" };
6205
6205
  }
6206
- function calcToolbarPos(rect, parentScroll, approxW = 330) {
6206
+ function calcToolbarPos(rect, parentScroll, approxW = 306) {
6207
6207
  const GAP = 8;
6208
- const APPROX_H = 36;
6208
+ const APPROX_H = 32;
6209
6209
  const APPROX_W = approxW;
6210
6210
  const clip = getIframeVisibleClip(parentScroll);
6211
6211
  const clipTop = clip?.top ?? 0;