@annalib/anna-core 10.0.8 → 10.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +3 -2
- package/fesm2015/annalib-anna-core.mjs +2 -1
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +2 -1
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1843,7 +1843,8 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1843
1843
|
let heightLeftForTable = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1844
1844
|
this.maximumRowsWhichCanBeRenderedWithoutScroll =
|
|
1845
1845
|
Math.floor((heightLeftForTable - headerHeight - rowHeight) / rowHeight) + 1;
|
|
1846
|
-
let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1846
|
+
// let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1847
|
+
let actualTableHeight = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1847
1848
|
this.gtDimension.tableHeight = `${actualTableHeight}px`;
|
|
1848
1849
|
this.numberOfSkeletonRows = Array(this.maximumRowsWhichCanBeRenderedWithoutScroll).fill(0);
|
|
1849
1850
|
}
|