<div class="pcal-month-container" style="max-width: 1230px;">
<?php foreach (DateHelper::MONTH_NAMES as $monthIndex => $month): ?>
- <div class="pcal-month w-20" style="max-width: 250px;">
+ <div class="pcal-month w-20 mb-5" style="max-width: 250px;">
<div class="pcal-month-name"><?= $month; ?></div>
<div class="pcal-days">
<table>
<?php $num = 1 - date('N', strtotime(date($viewYear . "-" . $padMonth . "-01"))); ?>
<?php $numMonth = date('t', strtotime(date($viewYear . "-" . $padMonth . "-01"))); ?>
<?php foreach (range(1, 6) as $weekNum): ?>
+ <?php if ($num + 1 > $numMonth) { continue; } ?>
<tr>
<?php foreach (DateHelper::DAYS_IN_WEEK_NAMES_SHORT as $dayIndexInWeek => $dayName): ?>
<?php $num++; ?>