Skip to content

Commit cb4a186

Browse files
authored
Merge branch 'main' into wfprev-944/Display-hint-text-as-0.00
2 parents a8baca1 + da93032 commit cb4a186

File tree

7 files changed

+27
-6
lines changed

7 files changed

+27
-6
lines changed

client/wfprev-war/src/main/angular/src/app/components/edit-project/activities/activities.component.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,6 @@
279279
:host ::ng-deep .mat-mdc-checkbox-disabled .mdc-label {
280280
margin-left: 12px !important;
281281
}
282-
:host ::ng-deep .add-activity .shared-icon-button {
283-
height: 40px !important;
284-
}
285282

286283
::ng-deep .mat-form-field-disabled .mdc-text-field {
287284
margin-top: 6px;

client/wfprev-war/src/main/angular/src/app/components/edit-project/wfprev-performance-update/wfprev-performance-updates.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
<wfprev-expansion-indicator
66
[isExpanded]="performanceUpdatesPanels.expanded"></wfprev-expansion-indicator>
77
<span class="project-title">Performance Updates</span>
8-
<wfprev-icon-button [text]="'New Update'" [icon]="'/assets/add-button.svg'" [alt]="'add-update'"
8+
<wfprev-icon-button
9+
class="new-update"
10+
[text]="'New Update'"
11+
[icon]="'/assets/add-button.svg'"
12+
[alt]="'new-update'"
913
[iconSize]="19" (clicked)="openDialog()">
1014
</wfprev-icon-button>
1115
</div>

client/wfprev-war/src/main/angular/src/app/components/edit-project/wfprev-performance-update/wfprev-performance-updates.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.performance-update-container {
44
padding-top: 12px;
55
margin: 0;
6-
width: 1500px;
6+
min-width: 1500px;
77

88
.expansion-panel:nth-child(even) {
99
background-color: #FAF9F8;

client/wfprev-war/src/main/angular/src/app/components/shared/icon-button/icon-button.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
background: #013366;
1010
border: none;
1111
font-family: "BCSans", "Noto Sans", Verdana, Arial, sans-serif;
12+
1213
.icon {
1314
vertical-align: text-bottom;
1415
padding-right: 5px;
@@ -24,8 +25,15 @@
2425
align-items: center;
2526
gap: 6px;
2627
}
28+
2729
&:disabled {
2830
background-color: #c0c0c0;
2931
cursor: not-allowed;
3032
}
33+
}
34+
35+
:host-context(.new-update) .shared-icon-button,
36+
:host-context(.add-activity) .shared-icon-button {
37+
width: 153px;
38+
height: 40px;
3139
}

client/wfprev-war/src/main/angular/src/app/components/shared/select-field/select-field.component.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,15 @@
6666
margin-top: 14px;
6767
}
6868
}
69+
6970
}
71+
72+
:host-context(.new-update) .select-field .error {
73+
color: var(--wf-colour-error);
74+
font-size: 14px;
75+
margin-top: 4px;
76+
&.invisible {
77+
visibility: hidden;
78+
}
79+
80+
}

client/wfprev-war/src/main/angular/src/app/components/wfprev-performance-update-modal-window/wfprev-performance-update-modal-window.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<p mat-dialog-title class="title">General Update for Fiscal Activity: {{data.projectFiscalName}}</p>
66
<div class="modal-window-row">
77
<div>
8-
<wfprev-select-field class="form-item" [label]="'Reporting Period'" [required]="true"
8+
<wfprev-select-field class="form-item new-update" [label]="'Reporting Period'" [required]="true"
99
[control]="reportingPeriodControl" [options]="reportingPeriod" [optionValueField]="'value'"
1010
[optionLabelField]="'description'" id="reportingPeriod" placeholder="Select" />
1111
</div>

client/wfprev-war/src/main/angular/src/app/components/wfprev-performance-update-modal-window/wfprev-performance-update-modal-window.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
}
1818

1919
.title {
20+
padding-top: 8px;
2021
font-size: 21px;
2122
font-style: normal;
2223
font-weight: 500;

0 commit comments

Comments
 (0)