Skip to content

Commit 3ba803f

Browse files
alisaismailatiAndrea Barbasso
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-1993 (pull request DSpace#2441)
[DSC-1993] fix of red border in inline-group Approved-by: Andrea Barbasso
2 parents 5cfe951 + 8230bf3 commit 3ba803f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/relation-inline-group/dynamic-relation-inline-group.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="pt-2" [ngClass]="{'border-top': !showErrorMessages, 'border border-danger': showErrorMessages}" [hidden]="model.hidden">
1+
<div class="pt-2 border-top" [ngClass]="{ 'inline-group-is-invalid': showErrorMessages}" [hidden]="model.hidden">
22
<ds-form #formRef="formComponent" *ngIf="formModel" @shrinkInOut
33
[formId]="formId"
44
[formModel]="formModel"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
.inline-btn-group {
22
margin-top: 2rem;
33
}
4+
5+
.inline-group-is-invalid ds-form:has(ds-dynamic-form-array) .grey-background {
6+
border: 1px solid var(--bs-danger);
7+
}

0 commit comments

Comments
 (0)