From 737adca4f1ce1a9d45ee3bd3176ae6df51882370 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Tue, 7 Feb 2023 17:04:18 -0600 Subject: [PATCH] dont clip post contents --- src/components/post/post-contents.tsx | 29 +++++++++------------------ 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/src/components/post/post-contents.tsx b/src/components/post/post-contents.tsx index a13d091a7..fd2e521c5 100644 --- a/src/components/post/post-contents.tsx +++ b/src/components/post/post-contents.tsx @@ -1,11 +1,5 @@ import React from "react"; -import { - AspectRatio, - Image, - ImageProps, - Link, - LinkProps, -} from "@chakra-ui/react"; +import { Image, ImageProps, Link, LinkProps } from "@chakra-ui/react"; import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import remarkImages from "remark-images"; @@ -27,9 +21,7 @@ const twitterLink = const CustomLink = (props: LinkProps) => ; const CustomImage = (props: ImageProps) => ( - - - + ); const HandleLinkTypes = (props: LinkProps) => { @@ -47,15 +39,14 @@ const HandleLinkTypes = (props: LinkProps) => { const parts = youtubeVideoLink.exec(href); return parts ? ( - - - + ) : ( );