mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-40934 style: replace mat-raise-button with mat-flat-button (#11502)
* AAE-40934 style: replace mat-raise-button with mat-flat-button * AAE-40934 style: remove unnecessary color declarations from material buttons, rely on MD3 default primary button color
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
{{ field.name | translate }}
|
||||
</label>
|
||||
</div>
|
||||
<button mat-raised-button color="primary" (click)="view()">json</button>
|
||||
<button mat-flat-button (click)="view()">json</button>
|
||||
</div>
|
||||
@@ -14,8 +14,7 @@
|
||||
@let shouldDisplayAddRowButton = !element.field.params.maxNumberOfRows || (element.field.params.maxNumberOfRows > element.field.rows.length);
|
||||
@if (shouldDisplayAddRowButton) {
|
||||
<button
|
||||
mat-button
|
||||
color="primary"
|
||||
mat-flat-button
|
||||
class="adf-container-widget-row-action"
|
||||
[disabled]="element.field.readOnly"
|
||||
(click)="addRow()"
|
||||
|
||||
+1
-2
@@ -150,8 +150,7 @@
|
||||
}
|
||||
@if (showStartProcessButton$ | async) {
|
||||
<button
|
||||
color="primary"
|
||||
mat-raised-button
|
||||
mat-flat-button
|
||||
[disabled]="disableStartButton || !isProcessFormValid"
|
||||
(click)="startProcess()"
|
||||
data-automation-id="btn-start"
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@
|
||||
<ng-template [ngTemplateOutlet]="taskFormCloudButtons" />
|
||||
<button
|
||||
*ngIf="canCompleteTask()"
|
||||
mat-button
|
||||
mat-flat-button
|
||||
adf-cloud-complete-task
|
||||
[appName]="appName"
|
||||
[taskId]="taskId"
|
||||
|
||||
Reference in New Issue
Block a user