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