[ADF-5563][ADF-5565][ADF-5566]Removed !important from 'task-form','cloud-form-demo' and 'add-permission-panel' component (#9187)

* Removed important

* ADF-5563

* ADF-5566

* refactored

* Refactored

* Review comments resolved

* [ci:force]

* lint issue fixed

* lint issues fixed

* Refactored

* extra space  removed

* linting resolved

* checkbox issue fixed

* lint issue fixed

* lint issue fixed
This commit is contained in:
pkunduGL
2024-01-03 16:32:35 +05:30
committed by GitHub
parent d4d731b275
commit 4ff46642fb
5 changed files with 92 additions and 88 deletions

View File

@@ -59,15 +59,17 @@
</adf-empty-content>
</ng-template>
</mat-card-content>
<mat-card-actions class="adf-task-form-actions">
<ng-template [ngTemplateOutlet]="taskFormButtons"></ng-template>
<button mat-button
*ngIf="!isCompletedTask()" id="adf-no-form-complete-button"
color="primary"
[disabled]="canCompleteNoFormTask()"
(click)="onCompleteTask()">
{{'ADF_TASK_FORM.EMPTY_FORM.BUTTONS.COMPLETE' | translate}}
</button>
<mat-card-actions>
<div class="adf-task-form-actions">
<ng-template [ngTemplateOutlet]="taskFormButtons"></ng-template>
<button mat-button
*ngIf="!isCompletedTask()" id="adf-no-form-complete-button"
color="primary"
[disabled]="canCompleteNoFormTask()"
(click)="onCompleteTask()">
{{'ADF_TASK_FORM.EMPTY_FORM.BUTTONS.COMPLETE' | translate}}
</button>
</div>
</mat-card-actions>
</mat-card>
</ng-template>

View File

@@ -5,8 +5,8 @@
&-actions {
float: right;
padding-bottom: 25px !important;
padding-right: 25px !important;
padding-right: 25px;
padding-bottom: 25px;
& .mat-button {
height: 36px;