From 587f87f2c5d98ca83bb59bf6fdb1557c1203584d Mon Sep 17 00:00:00 2001 From: isUnknown Date: Mon, 16 Sep 2024 15:04:09 +0200 Subject: [PATCH] calendar-strip - fix border, remove animation --- assets/css/src/calendar-strip.css | 4 +++- site/snippets/calendar-strip.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/css/src/calendar-strip.css b/assets/css/src/calendar-strip.css index c45c0bb..d04c841 100644 --- a/assets/css/src/calendar-strip.css +++ b/assets/css/src/calendar-strip.css @@ -69,10 +69,11 @@ background-color: #fff; z-index: 0; border-bottom: var(--border); + box-sizing: border-box; display: grid; grid-template-rows: 0fr; - transition: all 0.5s ease-in-out; + /* transition: all 0.5s ease-in-out; */ } .calendar-strip__date > * { @@ -81,6 +82,7 @@ .calendar-strip__date.open { grid-template-rows: 1fr; + border-top: var(--border); } .calendar-strip .session { diff --git a/site/snippets/calendar-strip.php b/site/snippets/calendar-strip.php index 87bf99e..10cf557 100644 --- a/site/snippets/calendar-strip.php +++ b/site/snippets/calendar-strip.php @@ -134,7 +134,7 @@ :class="!date || date.full !== today ? '' : 'today'" :disabled="!date || date.sessions.length === 0 ? true : false" :title="!date || date.sessions.length === 0 ? 'Pas de représentation.' : 'Voir les représentations.'" - @mouseenter="handleDayHover()" + @mouseover="handleDayHover()" >