upate
This commit is contained in:
parent
a4526a7caa
commit
50241d9ff3
@ -422,7 +422,7 @@ $: {
|
||||
<div >
|
||||
<div class="relative mt-2">
|
||||
<a href={"/community/post/"+posts?.id}>
|
||||
{#if posts.postType === 'text'}
|
||||
{#if posts?.postType === 'text'}
|
||||
<!--Start PostType Text-->
|
||||
<div class="flex flex-wrap md:flex-row">
|
||||
<div class="cursor-pointer flex items-start">
|
||||
@ -434,12 +434,10 @@ $: {
|
||||
</div>
|
||||
|
||||
|
||||
<div class="break-normal ml-3 mt-5 pr-6 sm:pr-0">
|
||||
{@html posts?.description?.length > 182 ? posts?.description.slice(0, 182) + "..." : posts?.description}
|
||||
<div class="p-3 text-sm sm:text-[1rem] whitespace-pre-line break-normal text-[#D7DADC]">
|
||||
{@html posts?.description?.length > 400 ? posts?.description.slice(0, 400) + "..." : posts?.description}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -43,10 +43,10 @@ export const config = {
|
||||
addClassToTag('a', 'text-blue-400 hover:text-white underline');
|
||||
|
||||
// Add classes to ordered lists
|
||||
addClassToTag('ol', 'list-decimal ml-10 text-sm');
|
||||
addClassToTag('ol', 'list-decimal ml-4 text-sm');
|
||||
|
||||
// Add classes to unordered lists
|
||||
addClassToTag('ul', 'list-disc ml-10 text-sm -mt-5');
|
||||
addClassToTag('ul', 'list-disc ml-4 text-sm -mt-5');
|
||||
|
||||
// Add classes to blockquotes and their paragraphs
|
||||
function addClassToBlockquote() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user