diff --git a/src/lib/components/PostSection.svelte b/src/lib/components/PostSection.svelte index 2a164207..250cf24c 100644 --- a/src/lib/components/PostSection.svelte +++ b/src/lib/components/PostSection.svelte @@ -422,7 +422,7 @@ $: {
- {#if posts.postType === 'text'} + {#if posts?.postType === 'text'}
@@ -434,12 +434,10 @@ $: {
-
- {@html posts?.description?.length > 182 ? posts?.description.slice(0, 182) + "..." : posts?.description} +
+ {@html posts?.description?.length > 400 ? posts?.description.slice(0, 400) + "..." : posts?.description}
- -
diff --git a/src/routes/community/create-post/+page.server.ts b/src/routes/community/create-post/+page.server.ts index 944c7652..bcc46adc 100644 --- a/src/routes/community/create-post/+page.server.ts +++ b/src/routes/community/create-post/+page.server.ts @@ -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() {