style(contactos): opening hours stacked by day, one line per period, centred

This commit is contained in:
andre committed 2026-10-26 10:01:57 +00:00
1 parent 7fa2da73dc
commit cc677af92d
2 files changed
+13 -10

No files matched your search

+5 -4
View File
@@ -70,10 +70,11 @@ $session = session();
}
}
?>
<p><strong><?= htmlspecialchars($key) ?>:</strong>
<?php if ($ranges): ?><?= htmlspecialchars(implode(', ', $ranges)) ?>
<?php else: ?><span class="wh-closed">Encerrado</span><?php endif; ?>
</p>
<div class="wh-day">
<strong><?= htmlspecialchars($key) ?></strong>
<?php if ($ranges): foreach ($ranges as $r): ?><p><?= htmlspecialchars($r) ?></p><?php endforeach; ?>
<?php else: ?><p class="wh-closed">Encerrado</p><?php endif; ?>
</div>
<?php endforeach; ?>
</div>
</div>