Skip to content

nested grid column:'auto' option#1910

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Dec 30, 2021
Merged

nested grid column:'auto' option#1910
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

@adumesny adumesny commented Dec 30, 2021

Copy link
Copy Markdown
Member

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.

1 participant