<div *ngIf="visible" layoutDirection="row" class="content" [style]="{maxWidth: this.maxWidth}">
  <div class="messages" appFlex="auto">
    <div layoutDirection="column">
        <mat-error class="error-msg" *ngFor="let message of errorMessages">{{ message }}</mat-error>
    </div>
  </div>
  <div class="button" layoutAlign="end">
    <button mat-raised-button (click)="hide()" i18n>Hide</button>
  </div>
</div>
