Skip to content

Commit

Permalink
add. css changes for person added as relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-Go committed Feb 4, 2024
1 parent ec3f789 commit fb5fe60
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ui/app/registration/views/patientRelationships.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<!-- </div>-->
</div>
<div class="col col2 form-field">
<div class="field-value" ng-show="newRelationship.personB.display">
<div class="field-value-patient" ng-show="getChosenRelationshipType(newRelationship) === 'patient' && newRelationship.personB.display">
<span>
<a ng-click="openPatientDashboardInNewTab(newRelationship)">{{newRelationship.personB.display}}</a>
</span>
Expand Down
18 changes: 13 additions & 5 deletions ui/app/styles/registration/_relationship.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.relationship-extension-btn {
float: left;
padding-left: 1.25rem;

@media (max-width : 1024px) {
width: 15%;
}
Expand All @@ -61,17 +61,18 @@
width: 100%;
padding: 1% 0 0 0;
}

.add-person-btn {
margin: 0.2rem 0 0.2rem 0;
}
}
}

.col2 {
width: 25%;
float: left;
text-align: left;
display: flex;

.add-person-btn {
margin: 0.2rem 0 0.2rem 0;
}

@media (max-width : 1024px) {
width: 25%;
Expand Down Expand Up @@ -159,6 +160,13 @@
margin: auto;
margin-left: 0px;

.field-value-patient {
display: flex;
align-items: center;
margin-right: 10px;
}


@media (max-width : 1024px) {
width: 20%;
}
Expand Down

0 comments on commit fb5fe60

Please sign in to comment.