improve the colors of buttons in notes section (#2899)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user