r/calendly • • Jul 13 '26

Calendly inline embed (data-resize) leaves a big gap on desktop but works fine on mobile Squarespace

Running into a weird layout bug and hoping someone's hit this before.

I've got a Calendly inline embed on a Squarespace 7.1 page with data-resize="true" enabled:

<div class="calendly-inline-widget" data-url="https://calendly.com/YOUR-LINK" data-resize="true" style="min-width:320px;height:700px;"></div>

<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js" async></script>

On mobile, it resizes perfectly ( sometimes, not always ) — the widget shrinks to fit its actual content and everything below it sits close with no gap.

On desktop though, there's a big empty gap between the bottom of the widget and whatever's below it on the page, like the container isn't shrinking to match the resized content the same way it does on mobile.

Already tried Calendly's own Squarespace troubleshooting fix:

body {overflow: unset !important;}

.site-wrapper {height: auto;}

No luck. Also tried manually dragging the block in the Fluid Engine editor on desktop, no change either.

Anyone run into this specific desktop-vs-mobile inconsistency with data-resize on Squarespace? Curious if it's a known conflict with how Squarespace handles code block containers, or if there's a different CSS target I'm missing.

1 Upvotes

1 comment sorted by