Template (Angular) :
<mat-card fxLayout="row" fxLayoutAlign="space-between" style="margin-bottom: 20px;">
<div fxFlex="24%">
...
</div>
<mat-divider [vertical]="true" style="margin-bottom: 0; margin-left: 1%; margin-right: 1%"></mat-divider>
<div fxFlex="50%">
...
</div>
<mat-divider [vertical]="true" style="margin-bottom: 0; margin-left: 1%; margin-right: 1%"></mat-divider>
<!-- div filter -->
<div fxFlex="22%">
<div fxLayout="row" fxLayoutAlign="space-between">
<mat-form-field>
<mat-select [formControl]="filterchips" multiple placeholder="Filter by tags">
<mat-select-trigger>
...
</mat-select-trigger>
<mat-option *ngFor="..." [value]="..." (click)="...">
{{ ... }}
</mat-option>
</mat-select>
</mat-form-field>
<div style="height: 70%; width: 70%;" style="display: block">
<button [disabled]="isDisabled" mat-raised-button color="primary" (click)="..." >APPLY FILTER</button><br>
</div>
</div>
<mat-chip-list aria-label="...">
<mat-chip *ngFor="..." selected>{{...}}</mat-chip>
</mat-chip-list>
</div>
</mat-card>
This is the result when I use the entire size of my screen (only the third div ) :
third div of my mat card which is good
But when I change the size of the window :