Skip to content

Commit fb5fe60

Browse files
committed
add. css changes for person added as relationship
1 parent ec3f789 commit fb5fe60

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

ui/app/registration/views/patientRelationships.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<!-- </div>-->
5252
</div>
5353
<div class="col col2 form-field">
54-
<div class="field-value" ng-show="newRelationship.personB.display">
54+
<div class="field-value-patient" ng-show="getChosenRelationshipType(newRelationship) === 'patient' && newRelationship.personB.display">
5555
<span>
5656
<a ng-click="openPatientDashboardInNewTab(newRelationship)">{{newRelationship.personB.display}}</a>
5757
</span>

ui/app/styles/registration/_relationship.scss

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
.relationship-extension-btn {
4747
float: left;
4848
padding-left: 1.25rem;
49-
49+
5050
@media (max-width : 1024px) {
5151
width: 15%;
5252
}
@@ -61,17 +61,18 @@
6161
width: 100%;
6262
padding: 1% 0 0 0;
6363
}
64-
65-
.add-person-btn {
66-
margin: 0.2rem 0 0.2rem 0;
67-
}
6864
}
6965
}
7066

7167
.col2 {
7268
width: 25%;
7369
float: left;
7470
text-align: left;
71+
display: flex;
72+
73+
.add-person-btn {
74+
margin: 0.2rem 0 0.2rem 0;
75+
}
7576

7677
@media (max-width : 1024px) {
7778
width: 25%;
@@ -159,6 +160,13 @@
159160
margin: auto;
160161
margin-left: 0px;
161162

163+
.field-value-patient {
164+
display: flex;
165+
align-items: center;
166+
margin-right: 10px;
167+
}
168+
169+
162170
@media (max-width : 1024px) {
163171
width: 20%;
164172
}

0 commit comments

Comments
 (0)