diff --git a/src/app.css b/src/app.css index ead23e7d..c486b35d 100644 --- a/src/app.css +++ b/src/app.css @@ -39,13 +39,12 @@ padding-bottom: 1em; } - .markdown ul{ + .markdown ul { @apply py-4; } - .markdown li{ + .markdown li { list-style-type: disc; @apply pl-2 ml-6; - } .external::after { diff --git a/src/lib/components/CalendarList.svelte b/src/lib/components/CalendarList.svelte index 0dad88e5..83d60374 100644 --- a/src/lib/components/CalendarList.svelte +++ b/src/lib/components/CalendarList.svelte @@ -3,7 +3,7 @@ import EventTypeBadge from '$lib/components/EventTypeBadge.svelte'; import { config } from '$lib/pbw'; import { format } from 'date-fns'; - import { formatInTimeZone } from 'date-fns-tz' + import { formatInTimeZone } from 'date-fns-tz'; export let segments; export let date; @@ -13,20 +13,21 @@ export let event = null; for (let i = 0; i < segments.length; i++) { - const sg = segments[i] + const sg = segments[i]; if (sg.remote) { - const event = bundle.events.find(e => e.id === sg.remote) + const event = bundle.events.find((e) => e.id === sg.remote); if (!event || !event.segments) { - continue + continue; } - const remoteSegments = event.segments.map(rs => Object.assign(rs, { - event, - remote: true - })) - segments.splice(i, remoteSegments.length, ...remoteSegments) + const remoteSegments = event.segments.map((rs) => + Object.assign(rs, { + event, + remote: true + }) + ); + segments.splice(i, remoteSegments.length, ...remoteSegments); } } -