calendar-strip - fix border, remove animation

This commit is contained in:
isUnknown 2024-09-16 15:04:09 +02:00
parent c27dfc2e0c
commit 587f87f2c5
2 changed files with 4 additions and 2 deletions

View file

@ -69,10 +69,11 @@
background-color: #fff; background-color: #fff;
z-index: 0; z-index: 0;
border-bottom: var(--border); border-bottom: var(--border);
box-sizing: border-box;
display: grid; display: grid;
grid-template-rows: 0fr; grid-template-rows: 0fr;
transition: all 0.5s ease-in-out; /* transition: all 0.5s ease-in-out; */
} }
.calendar-strip__date > * { .calendar-strip__date > * {
@ -81,6 +82,7 @@
.calendar-strip__date.open { .calendar-strip__date.open {
grid-template-rows: 1fr; grid-template-rows: 1fr;
border-top: var(--border);
} }
.calendar-strip .session { .calendar-strip .session {

View file

@ -134,7 +134,7 @@
:class="!date || date.full !== today ? '' : 'today'" :class="!date || date.full !== today ? '' : 'today'"
:disabled="!date || date.sessions.length === 0 ? true : false" :disabled="!date || date.sessions.length === 0 ? true : false"
:title="!date || date.sessions.length === 0 ? 'Pas de représentation.' : 'Voir les représentations.'" :title="!date || date.sessions.length === 0 ? 'Pas de représentation.' : 'Voir les représentations.'"
@mouseenter="handleDayHover()" @mouseover="handleDayHover()"
> >
<template x-if="date"> <template x-if="date">
<span x-text="date.initial"></span> <span x-text="date.initial"></span>