fix hero overflow
This commit is contained in:
parent
a6631f6ccb
commit
a2062cd350
4 changed files with 4 additions and 8 deletions
|
|
@ -116,19 +116,13 @@
|
|||
$date = new DateTime($session['date']);
|
||||
$formatter = new IntlDateFormatter('fr_FR', IntlDateFormatter::NONE, IntlDateFormatter::NONE);
|
||||
$formattedDate = $formatter->formatObject($date, "d MMMM");
|
||||
|
||||
// try {
|
||||
// $endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
// } catch (\Throwable $th) {
|
||||
// throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
// }
|
||||
?>
|
||||
<template x-if="tab === 'Calendrier' || ('<?= $session['categories'] ?>'.length > 0 && tab.includes('<?= $session['categories'] ?>'))">
|
||||
<li class="collapsable__item--padding session grid js-link" style="--color: <?= $session['color'] ?>">
|
||||
<div class="left-column">
|
||||
<div class="session__info">
|
||||
<p><?= $formattedDate ?></p>
|
||||
<p><?= $session['time'] ?><?php //e($endTime, ' - ' . $endTime) ?></p>
|
||||
<p><?= $session['time'] ?></p>
|
||||
</div>
|
||||
<div class="session__info">
|
||||
<p><strong><?= $session['title'] ?></strong></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue