events-grid - set image to cover (calculate height)

This commit is contained in:
isUnknown 2024-07-31 08:50:49 +02:00
parent 8a1f9370dd
commit 480a64f0b8
10 changed files with 51 additions and 26 deletions

View file

@ -1,11 +1,11 @@
.calendar-strip {
--padding-vertical: calc(var(--space-m) / 2);
position: relative;
background-color: var(--color-yellow);
box-sizing: border-box;
width: 100%;
display: flex;
align-items: center;
padding: 2rem var(--margin-body);
border-top: var(--border);
border-bottom: var(--border);
}
@ -43,7 +43,7 @@
top: 100%;
width: 100%;
max-height: 0;
padding: 0 var(--margin-body);
padding: 0 calc(var(--space-m));
background-color: #fff;
z-index: 0;
transition: max-height 0.3s ease-in-out;