@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
|
@@ -1849,7 +1849,7 @@ class AnnaNonEditableGenericTableComponent {
|
|
|
1849
1849
|
let marginFromBottom = this.gtDimension.marginFromBottom;
|
|
1850
1850
|
let heightLeftForTable = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1851
1851
|
this.maximumRowsWhichCanBeRenderedWithoutScroll =
|
|
1852
|
-
Math.
|
|
1852
|
+
Math.ceil((heightLeftForTable - headerHeight - rowHeight) / rowHeight) + 1;
|
|
1853
1853
|
// let actualTableHeight = heightLeftForTable - ((heightLeftForTable - headerHeight - rowHeight) % rowHeight);
|
|
1854
1854
|
let actualTableHeight = viewportHeight - dataOnTopHeight - marginFromBottom;
|
|
1855
1855
|
this.gtDimension.tableHeight = `${actualTableHeight}px`;
|