Event blocks and RichText needs update...

This commit is contained in:
Antoine Phan
2025-12-10 01:08:23 -05:00
parent cb8a67e008
commit a7ce1b8683
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,6 @@
let { value } = $props();
</script>
<div id="test" class="typography">
<div class="typography">
<PortableText {value} />
</div>

View File

@@ -1,6 +1,7 @@
<script lang="ts">
import { PortableText } from '@portabletext/svelte';
import { CalendarDays, MapPin, Link as LinkIcon, FilePen, CalendarPlus } from '@lucide/svelte';
import RichText from 'components/RichText.svelte';
let {
eventTitle,
@@ -139,9 +140,9 @@
<!-- Description -->
{#if eventDescription}
<div
class="text-ecsess-100 mb-6 line-clamp-3 flex-1 text-sm leading-relaxed"
class="text-ecsess-100 mb-6 line-clamp-5"
>
<PortableText value={eventDescription} />
<RichText value={eventDescription} />
</div>
{/if}