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

Add height-fit helper similar to width-fit #431

Closed
kevinsawicki opened this issue Jan 12, 2018 · 1 comment
Closed

Add height-fit helper similar to width-fit #431

kevinsawicki opened this issue Jan 12, 2018 · 1 comment

Comments

@kevinsawicki
Copy link

For things on mobile, it can be helpful to cap the max-height of certain elements at 100% so the element does not overflow the page.

For example, height-fit would be useful for a box overlay of indeterminate height that you don't want to overflow the bottom of the viewport but instead want the inside of the box to scroll.

@jonrohan
Copy link
Member

Included in 10.4.0

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

3 participants