improve the colors of buttons in notes section (#2899)

This commit is contained in:
Shubham Kumar
2025-12-14 09:47:30 -06:00
committed by GitHub
parent 06f7ea5534
commit 5a21f3bc8b
2 changed files with 29 additions and 50 deletions
@@ -18,7 +18,7 @@
cdkAutosizeMinRows="2"
></textarea>
</mat-form-field>
<button mat-raised-button class="flex-1" color="primary" [disabled]="!noteForm.valid">
<button type="button" mat-raised-button class="flex-1" color="primary" [disabled]="!noteForm.valid">
<fa-icon icon="plus" class="m-r-10"></fa-icon>{{ 'labels.buttons.Add' | translate }}
</button>
</form>
@@ -40,10 +40,24 @@
</div>
</div>
<div class="note-actions">
<button class="edit-btn" (click)="editNote(entityNote.id, entityNote.note, i)" title="Edit note">
<button
type="button"
mat-raised-button
color="primary"
(click)="editNote(entityNote.id, entityNote.note, i)"
title="Edit note"
>
Edit
</button>
<button class="delete-btn" (click)="deleteNote(entityNote.id, i)" title="Delete note">Delete</button>
<button
type="button"
mat-raised-button
color="warn"
(click)="deleteNote(entityNote.id, i)"
title="Delete note"
>
Delete
</button>
</div>
</div>
</div>