Commit 56fb09b9f1c7e3ecac70c53ca140bdce41ffdd15

Authored by Igor Kulikov
1 parent 6f065804

Improve custom dialog container

... ... @@ -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>,
... ...