Repository navigation
Keep scrollbars out of the booking calendar - #25
Merged
Merged
Conversation
Cal.com's layout needs 1040px once its frame is 1024px or wider, so the embed at 1024px scrolled sideways, and Cal.com shows its frame at 300px high before measuring the booking, which scrolled for a moment. Cap the embed at 896px, as on full.dev, keep the frame transparent until Cal.com reports linkReady, and keep the booking's space free meanwhile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for silveltman ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Cal.com calendar on /contact/ showed scrollbars:
max-w-5xl), so it scrolled sideways, and the horizontal scrollbar took height and added a vertical one. Measured: overflow only at frame widths 1024 to 1039px.Change
max-w-4xl), as on full.dev, so the frame never reaches the 1024 to 1039px range.linkReady(orlinkFailed, or after 8 s), then fade it in.lg, so the footer does not jump.The embed stays Cal.com's own embed.js inline embed. The direct link still shows when Cal.com's script is blocked.
Checks
pnpm checkandpnpm buildpass.🤖 Generated with Claude Code
Summary by CodeRabbit