Event blocks and RichText needs update...
This commit is contained in:
@@ -4,6 +4,6 @@
|
|||||||
let { value } = $props();
|
let { value } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="test" class="typography">
|
<div class="typography">
|
||||||
<PortableText {value} />
|
<PortableText {value} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PortableText } from '@portabletext/svelte';
|
import { PortableText } from '@portabletext/svelte';
|
||||||
import { CalendarDays, MapPin, Link as LinkIcon, FilePen, CalendarPlus } from '@lucide/svelte';
|
import { CalendarDays, MapPin, Link as LinkIcon, FilePen, CalendarPlus } from '@lucide/svelte';
|
||||||
|
import RichText from 'components/RichText.svelte';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
eventTitle,
|
eventTitle,
|
||||||
@@ -139,9 +140,9 @@
|
|||||||
<!-- Description -->
|
<!-- Description -->
|
||||||
{#if eventDescription}
|
{#if eventDescription}
|
||||||
<div
|
<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>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user