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

Any way to set a max height without constraining width? #221

Open
skillmatic-co opened this issue May 3, 2017 · 1 comment
Open

Any way to set a max height without constraining width? #221

skillmatic-co opened this issue May 3, 2017 · 1 comment

Comments

@skillmatic-co
Copy link

Is there any way to set a max height for columns without also setting width?

I basically just want to have a max number of li elements before it breaks into multiple columns. So if I could do this by setting a number of li elements, or setting a max height, that would work.

Possible?

@adamwulf
Copy link
Owner

adamwulf commented May 4, 2017

There's two ways to set a max height - one allows for horizontal scrolling and will continually layout new columns for a given height. The other will clip any content that doesn't fit after that height and will append it to an overflow dom element.

Take a look at sample3 and sample5 for examples of the two methods

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

No branches or pull requests

2 participants