Skip to content

Commit

Permalink
Fixed the viewport height (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil5693 authored Jul 20, 2023
1 parent 4b06690 commit cdbaeda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -3704,6 +3704,8 @@ if (typeof Slick === "undefined") {

const style = getComputedStyle(_container);
viewportH = utils.toFloat(style.height)
+ utils.toFloat(style.borderBottom)
+ utils.toFloat(style.borderTop)
- utils.toFloat(style.paddingTop)
- utils.toFloat(style.paddingBottom)
- columnNamesH
Expand Down

0 comments on commit cdbaeda

Please sign in to comment.