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

Fix horizontal scroll on content #121

Merged

Conversation

rtablada
Copy link
Contributor

@rtablada rtablada commented May 9, 2017

I noticed that the FreestyleGuide-content area of the style guide can occasionally stretch beyond the bounds of the page.
This happens especially when a component may have large amounts of text or when a freestyle-collection of many items is set to inline=true.

By setting overflow: auto on this selector, the child elements better observe the given space by the master detail flex relation between FreestyleGuide-content and its parent instead of trying to extend beyond the bounds and preventing shrink.

@chrislopresto chrislopresto merged commit b8d2c94 into chrislopresto:master May 10, 2017
@chrislopresto
Copy link
Owner

Thanks!

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