From fa281a53c1d5e361dbcbad13db0e77af2efa7efe Mon Sep 17 00:00:00 2001 From: Daniel Medina Date: Wed, 26 Jul 2023 22:21:58 -0600 Subject: [PATCH] :sparkles: Increased line height in posts --- components/Post.tsx | 2 +- pages/dashboard.tsx | 6 +++--- pages/post/[id].tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Post.tsx b/components/Post.tsx index 381f2b3..3272b17 100644 --- a/components/Post.tsx +++ b/components/Post.tsx @@ -98,7 +98,7 @@ const Post = ({ src, title, layout, content, id, mode }: Props) => { > {title} -

{content.substring(0, 100)}...

+

{content.substring(0, 75).trimEnd()}...

diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index d6f534f..9d75cba 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -32,15 +32,15 @@ export default function Login() {
-
-

+
+

Dashboard

{session && (