Skip to content

Commit

Permalink
more styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ddrury committed Jul 28, 2023
1 parent 418ed0a commit e6a20c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/views/modules/relatives/family.phtml
Expand Up @@ -45,8 +45,8 @@ foreach ($family->facts(['HUSB'], false, $fam_access_level) as $fact) {
?>
<div class="row mt-1 <?= $row_class ?>">
<div class="col-sm-2 pe-1 ps-0">
<div class="wt-fact-controls h-100">
<?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?>
<div class="wt-fact-controls h-100 pt-1">
<?= $individual === $person ? '<i class="icon-selected"> </i>' : '' ?>
<?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
</div>
</div>
Expand Down Expand Up @@ -85,8 +85,8 @@ foreach ($family->facts(['WIFE'], false, $fam_access_level) as $fact) {

<div class="row mt-1 <?= $row_class ?>">
<div class="col-sm-2 pe-1 ps-0">
<div class="wt-fact-controls h-100">
<?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?>
<div class="wt-fact-controls h-100 pt-1">
<?= $individual === $person ? '<i class="icon-selected"> </i>' : '' ?>
<?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
</div>
</div>
Expand Down Expand Up @@ -201,7 +201,7 @@ if (!$found && $family->canEdit()) { ?>
</div>
<?php endif ?>
<?php if ($individual === $person) : ?>
<i class="icon-selected"></i>
<i class="icon-selected"> </i>
<?php endif ?>
<?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
</div>
Expand Down

0 comments on commit e6a20c9

Please sign in to comment.