AAE-36368 Fixing labels and form-fields on content-ee and apa (#10982)

* AAE-36368 fixing labels and form-fields on content-ee and apa

* AAE-36368 removing padding for ACA

* AAE-36368 fixing the PR for ACA issues

* AAE-36368 resolving PR comments removing adf-form-field-input class
This commit is contained in:
Soumyajit Chakraborty
2025-07-14 13:33:47 +05:30
committed by GitHub
parent 1dd7d29bf2
commit f1bdbf63b0
5 changed files with 16 additions and 15 deletions

View File

@@ -14,7 +14,7 @@
z-index: 1;
}
.adf-property-value-editable.adf-property-value-editable {
.adf-property-value-editable {
padding-left: 0;
#{ms.$mat-text-field-no-label} #{ms.$mat-form-field-infix} {
@@ -55,7 +55,6 @@
cursor: default;
padding: 6px 0;
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
color: var(--adf-metadata-property-panel-title-color);
}
#{ms.$mat-line-ripple} {
@@ -72,4 +71,9 @@
font-size: 10px;
}
}
#{ms.$mat-form-field-infix} {
padding-left: 3%;
padding-right: 3%;
}
}

View File

@@ -25,7 +25,8 @@
[ngClass]="{
'adf-property-value-editable': editable,
'adf-property-readonly-value': isReadonlyProperty,
'adf-property-value-has-error': isEditable && hasErrors
'adf-property-value-has-error': isEditable && hasErrors,
'adf-property-value-not-editable': !editable
}"
title="{{ property.label | translate }}"
[placeholder]="property.default"

View File

@@ -71,11 +71,8 @@
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
}
.adf-property-readonly-value:disabled {
color: var(--adf-metadata-property-panel-title-color);
}
.adf-property-value-editable:not(:disabled) {
.adf-property-value-not-editable {
/* stylelint-disable-next-line declaration-no-important */
color: var(--adf-metadata-property-panel-title-color);
}

View File

@@ -10,6 +10,10 @@
display: flex;
line-height: 20px;
&.adf-property-readonly-value {
color: var(--adf-metadata-property-panel-label-color);
}
&.adf-property-value-editable {
color: var(--adf-metadata-property-panel-title-color);
}
@@ -29,8 +33,6 @@
#{ms.$mat-input-element} {
text-overflow: ellipsis;
color: var(--adf-metadata-property-panel-title-color);
padding: 6px 0;
line-height: 20px;
&.adf-property-value-editable {
@@ -85,10 +87,7 @@
}
.adf-property-value {
color: var(--adf-metadata-property-panel-title-color);
&.adf-property-value-editable {
color: var(--adf-metadata-property-panel-title-color);
background-color: var(--adf-metadata-buttons-background-color);
box-sizing: border-box;
border-radius: 6px;