Flex layout used in mat-drawer-content
问题 I have used angular flex layout in navigation drawer like this <mat-drawer-container> <mat-drawer #drawer mode="over" > <p>Drawer content</p> <p> <button mat-icon-button (click)="drawer.close()"> <mat-icon>clear</mat-icon> </button> </p> </mat-drawer> <mat-drawer-content fxLayout="row" fxLayoutAlign="start center"> <p> <button mat-icon-button (click)="drawer.open()"> <mat-icon>menu</mat-icon> </button> </p> <router-outlet></router-outlet> </mat-drawer-content> </mat-drawer-container> but it