Skip to content

Commit

Permalink
Merge pull request #1930 from bcgov/feature/ALCS-2229-layout-adjustments
Browse files Browse the repository at this point in the history
ALCS-2229 Layout adjustments
  • Loading branch information
fbarreta authored Oct 22, 2024
2 parents fe4d172 + c3ee3e8 commit 41c821f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export class AddStructureDialogComponent {
const editType = data.structureData?.options?.find((x: any) => x.value === data.structureData?.type);
this.area.setValue(editArea);
this.type.setValue(editType ? editType.value : '');
this.form.controls.area.markAsTouched();
this.form.controls.type.markAsTouched();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ mat-card-content {
.review-step {
border-bottom: rem(1) solid #565656;
background-color: transparent;

mat-card-header {
padding: rem(5) 0 rem(10) 0 !important;
}
}

.strong {
Expand All @@ -53,7 +49,7 @@ mat-card-content {
}

.line-info-type {
padding-bottom: rem(10);
padding-bottom: rem(5);
}

.text-error {
Expand All @@ -65,6 +61,7 @@ mat-card-content {

.field-error {
color: colors.$error-color;
margin-bottom: rem(4);
font-size: rem(15);
font-weight: 700;
display: flex;
Expand All @@ -77,6 +74,7 @@ mat-card-content {

.review-error {
margin-top: rem(4);
margin-bottom: rem(4);
color: colors.$error-color;
display: flex;
align-items: center;
Expand All @@ -94,8 +92,6 @@ mat-card-content {
.error-card {
border-radius: rem(4) !important;
border: rem(2) solid colors.$error-color !important;
padding: 0 0 rem(5) rem(10);
margin-top: rem(5);
}

.no-data {
Expand Down

0 comments on commit 41c821f

Please sign in to comment.