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

Fixes numCols calculation to allow for full container width responsive implementations #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevenamoody
Copy link

In order to have a responsive layout that takes up the full width of the container, the numCols calculation should take into account the extra gutter space. See the test I added in test/grid-responsive.html

@stevenamoody
Copy link
Author

somehow i goof'd in branching here. i'll figure it out and reopen

@stevenamoody stevenamoody changed the base branch from dev to master June 17, 2020 00:07
@stevenamoody
Copy link
Author

Reopened, I originally branched from master and it appears your dev branch has diverged from master. Targeting master as the base to illustrate my changes but let me know and I can re-target to dev if you'd like to merge there.

@pbowyer
Copy link

pbowyer commented Apr 16, 2022

Confirmed as working.
Demo using this PR: https://jsfiddle.net/pbowyer/x371k5nu/2/
And the same demo using the main branch: https://jsfiddle.net/pbowyer/x371k5nu/3/

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.

None yet

3 participants