made news list in Dashboard more compact

This commit is contained in:
Frank Schubert
2022-01-11 21:34:08 +01:00
parent 34f9bc9dae
commit a9b51281f9

View File

@@ -23,18 +23,18 @@
<div class="row">
<div class="col-12 col-xl-10">
<div class="card">
<div class="card-header bg-info text-white pt-2 pb-2" style="font-size: 1rem; font-weight: 400;">
<div class="card-header bg-info text-white pt-1 pb-1" style="font-size: 1rem; font-weight: 400;">
<span><?=date("d.m.Y", $news->create)?>:</span>
<?php if($news->subject): ?>
<?=$news->subject?>
<?php endif; ?>
</div>
<div class="card-body pb-0">
<div class="card-body pb-0 pt-1">
<div class="row col-12">
<div><?=$news->text?></div>
</div>
</div>
<div class="card-footer bg-light text-secondary text-monospace font-italic">
<div class="card-footer pt-1 pb-1 bg-light text-secondary text-monospace font-italic">
<?=$news->editor->name?>
</div>
</div>