diff --git a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.html b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.html index 9e6308c3b7..3d26bfdb17 100644 --- a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.html +++ b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.html @@ -7,7 +7,7 @@ class="aca-rule-composite-condition__form__row" *ngFor="let control of conditionFormControls; let i = index"> - + @@ -16,7 +16,7 @@ - + {{ 'ACA_FOLDER_RULES.RULE_DETAILS.LOGIC_OPERATORS.AND' | translate }} diff --git a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.scss b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.scss index d3197af390..fab4aabbcc 100644 --- a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.scss +++ b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-composite-condition.ui-component.scss @@ -1,3 +1,5 @@ +@import '@alfresco/adf-core/lib/styles/mat-selectors'; + .aca-rule-composite-condition { display: block; border-radius: 8px; @@ -16,6 +18,27 @@ flex-direction: column; gap: 8px; + .aca-rule-composite-condition__form__row { + display: flex; + gap: 8px; + + #{$mat-form-field} { + #{$mat-form-field-infix} { + padding-bottom: 4px; + } + } + + & > :nth-child(1) { + width: 7em; + height: fit-content; + font-size: inherit; + } + + & > :nth-child(2) { + flex: 1; + } + } + &__no-conditions { color: var(--theme-disabled-text-color); margin: 0.5em 0; @@ -35,20 +58,5 @@ margin-right: 0; } } - - &__row { - display: flex; - gap: 8px; - - & > :nth-child(1) { - width: 7em; - height: fit-content; - font-size: inherit; - } - - & > :nth-child(2) { - flex: 1; - } - } } } diff --git a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-simple-condition.ui-component.html b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-simple-condition.ui-component.html index 491a066376..be26616d4b 100644 --- a/projects/aca-content/folder-rules/src/rule-details/conditions/rule-simple-condition.ui-component.html +++ b/projects/aca-content/folder-rules/src/rule-details/conditions/rule-simple-condition.ui-component.html @@ -1,5 +1,5 @@
- + @@ -12,7 +12,7 @@ + [class]="{ 'aca-hidden': isComparatorHidden }" data-automation-id="comparator-form-field"> + subscriptSizing="dynamic" [ngSwitch]="selectedField.type">