Skip to content

Commit

Permalink
Merge pull request #867 from CorrelAid/866-projects-card-teaser-does-…
Browse files Browse the repository at this point in the history
…not-need-to-be-html-anymore

close #866
  • Loading branch information
jstet authored Jan 21, 2025
2 parents 52badfa + bd6207b commit 315924a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/ProjectsCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
<Tag text={tag} color="bg-secondary" />
{/each}
</div>
<Html source={teaser} options={'line-clamp-3 !px-0 my-3'} />
<span class="my-3 line-clamp-3 !px-0 leading-normal text-base-content"
>{teaser}</span
>
{#if projectOutputs && procLocalChapters.length !== 0}
<div class="pb-3">
{#each procLocalChapters as lc, i}
Expand Down

0 comments on commit 315924a

Please sign in to comment.