From 8628248b78dcb60239896ea40598a675050b8690 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 6 Mar 2022 10:46:58 +0100 Subject: [PATCH] Visual update --- src/EventModal.svelte | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/EventModal.svelte b/src/EventModal.svelte index 7b956b1..b8107d0 100644 --- a/src/EventModal.svelte +++ b/src/EventModal.svelte @@ -14,13 +14,15 @@ {event.title} - {#if event.extendedProps.description} - + + {#if event.extendedProps.description} {#each event.extendedProps.description.split('\n') as line}

{line}

{/each} -
- {/if} + {:else} + Pas de description + {/if} +
@@ -35,7 +37,7 @@ {dateFormat(event.start)} - {dateFormat(event.end)} {:else} - + {timeFormat(event.start)} - {timeFormat(event.end)} {/if}