fix upcoming event blocks (at least temporarily)
This commit is contained in:
@ -56,7 +56,7 @@ export const EventItem = ({
|
|||||||
"occurrence" in event &&
|
"occurrence" in event &&
|
||||||
event.occurrence?.start && (
|
event.occurrence?.start && (
|
||||||
<p className={styles.day}>
|
<p className={styles.day}>
|
||||||
{formatDate(event.occurrence?.start, "eeee dd.MM.")}
|
{formatDate(event.occurrence?.start, "eeee dd.MM.")} {formatDate(event.occurrence?.start, "'kl.' HH:mm")}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
<h1 className={styles.title}>{event.title}</h1>
|
<h1 className={styles.title}>{event.title}</h1>
|
||||||
@ -76,7 +76,7 @@ export const EventItem = ({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{(mode === "calendar" || mode === "singular-time-only") &&
|
{(mode === "calendar") &&
|
||||||
"occurrence" in event &&
|
"occurrence" in event &&
|
||||||
event.occurrence?.start && (
|
event.occurrence?.start && (
|
||||||
<p className={styles.dates}>
|
<p className={styles.dates}>
|
||||||
|
@ -40,29 +40,27 @@
|
|||||||
width: var(--size-image-width);
|
width: var(--size-image-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.day,
|
||||||
.dates,
|
.dates,
|
||||||
.title {
|
.title {
|
||||||
font-size: var(--font-size-body);
|
font-size: var(--font-size-caption);
|
||||||
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.day {
|
.day {
|
||||||
|
opacity: 0.8;
|
||||||
&:first-letter {
|
&:first-letter {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
font-family: var(--font-serif);
|
|
||||||
font-size: var(--font-size-body);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin: .2em 0;
|
margin: .2em 0;
|
||||||
}
|
font-size: var(--font-size-body);
|
||||||
|
line-height: 1.2;
|
||||||
.day, .dates {
|
|
||||||
font-size: var(--font-size-caption);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
align-self: start;
|
|
||||||
&:before {
|
&:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,4 @@
|
|||||||
ul {
|
ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
|
||||||
padding-right: var(--spacing-s);
|
|
||||||
}
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user