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

nested grid column:'auto' option #1910

Merged
merged 1 commit into from Dec 30, 2021
Merged

Conversation

adumesny
Copy link
Member

@adumesny adumesny commented Dec 30, 2021

Description

  • part of using drag and drop to create nested Grids #1009
  • we now have a new column:'auto' option which is used for nested grids to column size themselves to match their container (same # of column)
    This make sure outside and inside items stay the same size
  • this will eventually be required when creating grids on the fly dynamically (as good default)
  • updated nested.html to showcase this

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* partial fix gridstack#1009
* we now have a new column:'auto' option which is used for nested grids to column size themselves to match their container (same # of column)
This make sure outside and inside items stay the same size
* this will eventually be required when creating grids on the fly dynamically (as good default)
* updated nested.html to showcase this
@adumesny adumesny merged commit 2666970 into gridstack:master Dec 30, 2021
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

1 participant