Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests iframe height for better sizing #27

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

jongomez
Copy link
Contributor

@jongomez jongomez commented Nov 7, 2023

In this PR, we request the storybook iframe's height, and use that height instead of hard coding 6000px for every single iframe.

I've also updated the storybookUrl to the permalink: https://main--63e4f71c39dc65c5c703c1e8.chromatic.com/ - @jeangovil happy to remove this if you don't think it makes sense.

How to test this

Go to this PR's chromatic link (current one at the time of me writing this is this) and go to a lsd component page. There shouldn't be large empty spaces at the bottom.

Copy link

vercel bot commented Nov 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
logos-brand-guidelines ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2023 5:17pm

@jongomez jongomez marked this pull request as ready for review November 7, 2023 17:20
@jongomez jongomez requested a review from jeangovil November 7, 2023 17:20
@jongomez jongomez merged commit a84df21 into master Nov 7, 2023
2 checks passed
@jeangovil jeangovil deleted the request-iframe-height branch December 15, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants