Skip to content

no longer force rows for min-height#1912

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Jan 1, 2022
Merged

no longer force rows for min-height#1912
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

@adumesny adumesny commented Jan 1, 2022

Copy link
Copy Markdown
Member

Description

  • fixed issue in nested.html where we had scroll bar when we shouldn't.
  • the old code used to set rows # to match the grid min-height (incorrectly when set to say 100% or 10rem) which we no longer do. setting an explicit height (in code) with min-height (in CSS) works just fine.
  • getCellHeight() will no longer compute using entire grid / #row, but use the first row instead...

Checklist

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

* fixed issue in nested.html where we had scroll bar when we shouldn't.
* the old code used to set rows # to match the grid min-height (incorrectly when set to say 100% or 10rem) which we no longer do. settign an explicit heiht (in code) with min-height (in CSS) works just fine.
* getCellHeight() will no longer compute using entire grid / #row, ut use the first row instead...
@adumesny adumesny merged commit 1c5e97f into gridstack:master Jan 1, 2022
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