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()"
|
||||
|
||||
Reference in New Issue
Block a user