@annalib/anna-core 10.0.24 → 10.0.26
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 +2 -2
- package/fesm2015/annalib-anna-core.mjs +1 -1
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +1 -1
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1847,7 +1847,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1847
1847
|
let marginFromBottom = this.gtDimension.marginFromBottom;
|
|
1848
1848
|
let heightLeftForTable = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1849
1849
|
this.maximumRowsWhichCanBeRenderedWithoutScroll =
|
|
1850
|
-
Math.
|
|
1850
|
+
Math.ceil((heightLeftForTable - headerHeight - rowHeight) / rowHeight) + 1;
|
|
1851
1851
|
// let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1852
1852
|
let actualTableHeight = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1853
1853
|
this.gtDimension.tableHeight = `${actualTableHeight}px`;
|