-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
fix: horizontal scrolling overflow #6361
fix: horizontal scrolling overflow #6361
Conversation
this is a feature request :) |
Hi @casvil thanks for your contribution!! Two requests:
Much appreciated 🙏 |
@shilman failed tests after running |
Ah @casvil sorry for the slow reply. Try running |
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-fork-casvil-fix-horizontal-ov.storybook.now.sh |
Issue: A component (In my use case a table with fixed th, td widths) does not overflow when the content of the storybook does not fit de viewport.
What I did
I added the property
overflow: auto
to the inner div of the centered add-on.How to test
This should be tested by setting a viewport width smaller than the width of the component being rendered.
If your answer is yes to any of these, please make sure to include it in your PR.