Skip to content

Commit

Permalink
Merge pull request #2097 from CityOfPhiladelphia/remove-hr-tag-from-r…
Browse files Browse the repository at this point in the history
…esource-cards

fix: close hr tag and endif statement for single resource cards
  • Loading branch information
m-atia authored Feb 23, 2024
2 parents 6ebddd0 + 34fcfd4 commit 4687daf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div class="large-<?php echo $columns ?> columns pbm">
<?php if (!$action_panel_link == ''): ?>
<a href="<?php echo $action_panel_link; ?>" class="card action-panel">
<div class="panel <?php if( $item_count > 1 ) echo 'equal';?>">
<div class="panel <?php if( $item_count > 1 ): echo 'equal'; endif;?>">
<header class="<?php echo $columns == '24' ? 'desktop-text-align-left' : ''; ?>">
<?php if ($action_panel_fa): ?>
<div class="<?php echo $columns == '24' ? 'desktop-float-left' : ''; ?>">
Expand All @@ -59,7 +59,7 @@
<span class="<?php if ($action_panel_link_loc) echo 'external';?>"><?php echo $action_panel_cta_text; ?></span>
<?php endif; ?>
</header>
<?php echo $columns == '24' ? '<hr class="mll mrl show-for-small-only"' : '<hr class="mll mrl">'; ?>
<?php echo $columns == '24' ? '<hr class="mll mrl show-for-small-only">' : '<hr class="mll mrl">'; ?>
<span class="details"><?php echo $action_panel_summary; ?></span>
</div>
</a>
Expand Down

0 comments on commit 4687daf

Please sign in to comment.