-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
adds inline-scroll on props-table #1131
Conversation
- the "Pathline" breaks the responsive view if it gets too long as there will be a horizontal scrollbar
…uidist into feature/table-overflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One tiny question.
tabBody: { | ||
overflowX: 'auto', | ||
maxWidth: '100%', | ||
'-webkit-overflow-scrolling': 'touch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will WebkitOverflowScrolling
work too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, yes. :-) However it is the same as here:
'-webkit-overflow-scrolling': 'touch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both should work the same way, camelCased one is just more idiomatic, because all other attributes are camelCased.
It's JSS, not styled-components by the way ;-)
And please update snapshots too ;-) |
@@ -37,7 +37,7 @@ const styles = ({ color, fontFamily, fontSize, sidebarWidth, mq, space, maxWidth | |||
bottom: 0, | |||
width: sidebarWidth, | |||
overflow: 'auto', | |||
'-webkit-overflow-scrolling': 'touch', | |||
WebkitOverflowScrolling: 'touch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thanks for fixing these small details! ❤️ |
🎉 This PR is included in version 7.3.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Same as: #1125
Document gets a horizontal scrollbar on a small viewport because of the props-table which gets too wide.