1
0

Make content full height

This commit is contained in:
Philip Wagner
2025-03-26 10:57:55 +01:00
parent 93b75d36a5
commit 1fada65891
10 changed files with 54 additions and 22 deletions

View File

@@ -13,6 +13,14 @@
'bg-white-green',
]; $index = 0; ?>
<?php if ($page->text()->isNotEmpty()): ?>
<div class="container bg-white-green">
<div class="text-22">
<?= $page->text()->kirbytext() ?>
</div>
</div>
<?php endif ?>
<?php foreach ($page->children()->listed() as $page): ?>
<?php $color = $colors[$index++ % 6] ; remember($color); ?>
<section class="container calendar-entry <?= $color ?>">
@@ -24,4 +32,8 @@
</section>
<?php endforeach ?>
<?php snippet('inline_footer') ?>
</div>
<?php snippet('footer') ?>