Showing
1 changed file
with
3 additions
and
1 deletions
@@ -18,7 +18,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | @@ -18,7 +18,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | ||
18 | import { | 18 | import { |
19 | Component, | 19 | Component, |
20 | ComponentFactory, | 20 | ComponentFactory, |
21 | - ComponentRef, | 21 | + ComponentRef, HostBinding, |
22 | Inject, | 22 | Inject, |
23 | Injector, | 23 | Injector, |
24 | OnDestroy, | 24 | OnDestroy, |
@@ -46,6 +46,8 @@ export interface CustomDialogContainerData { | @@ -46,6 +46,8 @@ export interface CustomDialogContainerData { | ||
46 | }) | 46 | }) |
47 | export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy { | 47 | export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy { |
48 | 48 | ||
49 | + @HostBinding('style.height') height = '0px'; | ||
50 | + | ||
49 | private readonly customComponentRef: ComponentRef<CustomDialogComponent>; | 51 | private readonly customComponentRef: ComponentRef<CustomDialogComponent>; |
50 | 52 | ||
51 | constructor(protected store: Store<AppState>, | 53 | constructor(protected store: Store<AppState>, |