From 7a3f4817a8a6580a69e5340ffca247eb505719a8 Mon Sep 17 00:00:00 2001 From: Tristan Slater <1631008+trslater@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:17:36 -0800 Subject: [PATCH] Add max height to prevent unscrollable overflow --- .../decision-condition-types.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alcs-frontend/src/app/features/admin/decision-condition-types/decision-condition-types.component.ts b/alcs-frontend/src/app/features/admin/decision-condition-types/decision-condition-types.component.ts index e96bd6ebe3..c3e8c00b7e 100644 --- a/alcs-frontend/src/app/features/admin/decision-condition-types/decision-condition-types.component.ts +++ b/alcs-frontend/src/app/features/admin/decision-condition-types/decision-condition-types.component.ts @@ -49,6 +49,7 @@ export class DecisionConditionTypesComponent implements OnInit { async onCreate() { const dialog = this.dialog.open(DecisionConditionTypesDialogComponent, { + maxHeight: '80vh', minWidth: '600px', maxWidth: '800px', width: '70%', @@ -67,6 +68,7 @@ export class DecisionConditionTypesComponent implements OnInit { async onEdit(dto: ApplicationDecisionConditionTypeDto | NoticeOfIntentDecisionConditionTypeDto) { const dialog = this.dialog.open(DecisionConditionTypesDialogComponent, { + maxHeight: '80vh', minWidth: '600px', maxWidth: '800px', width: '70%',