Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

452 B
Raw Blame
<div
  class="d-flex"
  mat-dialog-title
  [class.with-close-button]="deviceType() !== 'mobile'"
>
  <span
    class="flex-grow-1 text-truncate"
    [class.text-center]="position() === 'center'"
    >{{ title() }}</span
  >
  @if (deviceType() !== 'mobile') {
    <button mat-icon-button (click)="onClickCloseButton()">
      <ion-icon
        class="d-block mat-icon text-body-secondary"
        name="close-outline"
      />
    </button>
  }
</div>