fixed fonts in dialogs

main
Said Gedik 2024-08-08 16:17:41 +02:00
parent 7dfb86a1e2
commit 0d12b0cb8a
2 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<div style="padding: 20px;">
<h2 style="line-height: 1.2;">Möchten Sie das Preset <span style="color: #ef6c00;">{{preset.name}}</span> wirklich löschen?</h2>
<mat-dialog-actions align="end">
<button mat-raised-button matDialogClose>Abbrechen</button>
<button mat-raised-button color="primary" (click)="deletePreset()" matDialogClose>Löschen</button>
<button mat-flat-button style="letter-spacing: 0px;" matDialogClose>Abbrechen</button>
<button mat-flat-button style="letter-spacing: 0px; color: white;" color="primary" (click)="deletePreset()" matDialogClose>Löschen</button>
</mat-dialog-actions>
</div>

View File

@ -1,12 +1,11 @@
<div style="padding: 20px;">
<h2>Preset <span style="color: #ef6c00;">{{preset.name}}</span> umbenennen?</h2>
<h2 style="line-height: 1.2;">Preset <span style="color: #ef6c00;">{{preset.name}}</span> umbenennen?</h2>
<mat-form-field style="width: 100%;">
<mat-label>Preset Name</mat-label>
<input matInput [(ngModel)]="newName">
</mat-form-field>
<mat-dialog-actions align="end">
<button mat-raised-button style="margin-right: 3px;" matDialogClose>Abbrechen</button>
<button mat-raised-button color="primary" style="margin-left: 3px;" (click)="renamePreset()"
matDialogClose>Umbenennen</button>
<button mat-flat-button style="letter-spacing: 0px;" matDialogClose>Abbrechen</button>
<button mat-flat-button style="color: white; letter-spacing: 0px" color="primary"(click)="renamePreset()" matDialogClose>Umbenennen</button>
</mat-dialog-actions>
</div>