calendar-strip mobile organisé en semaine presque terminé. Attente reponse à question

This commit is contained in:
isUnknown 2024-09-12 14:16:14 +02:00
parent f2f28d9012
commit 47b8fe07e1
3 changed files with 85 additions and 26 deletions

View file

@ -15,12 +15,18 @@
width: 10rem;
}
.calendar-strip__days {
.calendar-strip__days,
.calendar-strip__days .week > ul {
display: flex;
justify-content: space-evenly;
width: 100%;
}
.calendar-strip__days .week,
.calendar-strip__days .week > ul {
display: contents;
}
.calendar-strip__day {
font-size: var(--font-size-s);
transition: opacity 0.2s ease-in-out;
@ -97,4 +103,17 @@
.calendar-strip .next-month {
display: none;
}
.calendar-strip__days .week,
.calendar-strip__days .week > ul {
display: inherit;
}
.calendar-strip__days .week:not(.current) {
display: none;
}
.calendar-strip__days .week,
.calendar-strip__days .week > ul {
width: 100%;
}
}