@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.js CHANGED
@@ -6144,9 +6144,9 @@ function clampToolbarToClip(top, transform, rect, clip, approxH, gap) {
6144
6144
  const pinnedTop = Math.min(maxBottom - approxH, Math.max(minTop, clip.top + gap));
6145
6145
  return { top: pinnedTop + approxH, transform: "translateX(-50%) translateY(-100%)" };
6146
6146
  }
6147
- function calcToolbarPos(rect, parentScroll, approxW = 330) {
6147
+ function calcToolbarPos(rect, parentScroll, approxW = 306) {
6148
6148
  const GAP = 8;
6149
- const APPROX_H = 36;
6149
+ const APPROX_H = 32;
6150
6150
  const APPROX_W = approxW;
6151
6151
  const clip = getIframeVisibleClip(parentScroll);
6152
6152
  const clipTop = clip?.top ?? 0;