This commit is contained in:
Kalle 2022-09-14 22:28:11 +03:00
parent 872778ed05
commit 55705e2832
3 changed files with 9 additions and 9 deletions

View File

@ -308,10 +308,10 @@ function EventsToReport() {
);
}
function EventsList({
events,
}: {
events: SerializeFrom<typeof loader>["events"];
function EventsList({
events,
}: {
events: SerializeFrom<typeof loader>["events"];
}) {
const { t, i18n } = useTranslation("calendar");
@ -330,9 +330,9 @@ function EventsList({
</div>
</div>
<div className="stack md">
{events.map(calendarEvent => {
{events.map((calendarEvent) => {
return (
<section
<section
key={calendarEvent.eventDateId}
className="calendar__event main stack md"
>
@ -404,7 +404,7 @@ function EventsList({
</React.Fragment>
);
})}
</div>
</div>
);
}

View File

@ -103,8 +103,8 @@
.calendar__event {
display: flex;
flex-direction: column;
font-size: var(--fonts-lg);
padding-top: 1rem;
font-size: var(--fonts-lg);
}
.calendar__event + .calendar__event {

View File

@ -15,7 +15,7 @@ html {
--text: rgb(0 0 0 / 95%);
--black-text: rgb(0 0 0 / 95%);
--text-lighter: rgb(75 75 75 / 95%);
--divider: #635DAB;
--divider: #635dab;
--theme-error: rgb(199 13 6);
--theme-error-transparent: rgba(199 13 6 / 75%);
--theme-warning: #c9c900;