diff --git a/frontend/src/app/features/dashboard/pages/dashboard-page.component.ts b/frontend/src/app/features/dashboard/pages/dashboard-page.component.ts index 80f1442d5..7a642f6da 100644 --- a/frontend/src/app/features/dashboard/pages/dashboard-page.component.ts +++ b/frontend/src/app/features/dashboard/pages/dashboard-page.component.ts @@ -91,7 +91,7 @@ export class DashboardPageComponent extends ResourceOwner implements AfterViewIn } public ngAfterViewChecked() { - this.extendedHeight = `${this.grid.gridRows.length * this.grid.curRowHeight - 10}px`; + this.extendedHeight = `${this.grid.gridRows.length * this.grid.curRowHeight - (this.gridOptions.margin || 0)}px`; } public changeIsStacked(value: boolean) {