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

Setting properly the height for iframes #17811

Open
Nxtivision opened this issue Mar 28, 2022 · 0 comments
Open

Setting properly the height for iframes #17811

Nxtivision opened this issue Mar 28, 2022 · 0 comments

Comments

@Nxtivision
Copy link
Contributor

Nxtivision commented Mar 28, 2022

Is your feature request related to a problem? Please describe
I'm always frustrated when it comes to use stories inside a MDX file.

2022-03-28_18h36_57

Just before the Iframe, there is a Div set to height: 100px. Well, when the story is rendered, we have this ugly scrollbar:

2022-03-28_18h38_38

Describe the solution you'd like
Why don't we change this height to min-height ? I already tried this and it seems more interesting to use as it will always (I think) fit the content of the iframe. What do you think? 😄

2022-03-28_18h42_49

Are you able to assist to bring the feature to reality?
Yes, if I can find where it is set in the code
Edit: I tried to update the project via git but it seems there is a problem from me, so I can't help directly 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant