Skip to content

Commit

Permalink
Add margin between news posts
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Jul 24, 2021
1 parent 77f19fe commit 4e19225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/News.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if (is_null($news_posts) || empty($news_posts)) { ?>
<? } ?>
<div style="background-color:rgba(0,0,0,0.45);" class="font-weight-bold float-left mb-2 mr-2 p-2 rounded small shadow text-center"><img alt="<?=$news_post->getCategory()->getLabel()?>" title="<?=$news_post->getCategory()->getLabel()?>" src="<?=Common::relativeUrlToAbsolute('/a/news_categories/' . $news_post->getCategory()->getFilename())?>"/><br/><?=$news_post->getCategory()->getLabel()?></div><?=$news_post->getContent(true)?>
</div></div>
<div class="row"><div class="col">
<div class="row mb-4"><div class="col">
<div class="card"><div class="card-body">
<span class="float-right text-muted">
<time datetime="<?=$created_dt->format('c')?>"><?=$created_dt->format('l, F j, Y')?></time>
Expand Down

0 comments on commit 4e19225

Please sign in to comment.