fixed presets

main
Said Gedik 2024-08-07 19:53:36 +02:00
parent e0f13e18b0
commit dc83c1de52
1 changed files with 3 additions and 3 deletions

View File

@ -3,10 +3,10 @@
<h2 style="padding: 0; margin: 0;">W&I Kalender</h2>
<div class="splitter"></div>
<!-- Preset Picker -->
<div appearance="fill" style="width: 200px; padding-left: 15px; padding-top: 7px;">
<div appearance="fill" style="width: 240px; padding-left: 15px; padding-top: 7px; ">
<mat-select [(value)]="selectedPreset" (selectionChange)="selectPreset($event)">
<mat-optgroup *ngFor="let group of presetGroups" [label]="group.name" [disabled]="group.disabled">
<mat-option *ngFor="let preset of group.presets" [value]="preset">
<mat-optgroup style="font-size: 14px; font-weight: 600; letter-spacing: 0; color: rgba(0, 0, 0, 0.4);" *ngFor="let group of presetGroups" [label]="group.name" [disabled]="group.disabled">
<mat-option style="font-size: 14px; line-height: 1;letter-spacing: 0;" *ngFor="let preset of group.presets" [value]="preset">
{{preset.name}}
<!-- <button style="align-self: right;" *ngIf="group.name == 'User'" mat-icon-button><mat-icon>delete_forever</mat-icon></button>
<button *ngIf="group.name == 'User'" mat-icon-button><mat-icon>edit</mat-icon></button> -->