From 8430a4025311dd21895bda86981be0d5348881fa Mon Sep 17 00:00:00 2001 From: Junseo Park Date: Mon, 22 Feb 2021 21:40:48 +0900 Subject: [PATCH] fix: card styles --- components/SubmittedBotCard.tsx | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/components/SubmittedBotCard.tsx b/components/SubmittedBotCard.tsx index 490ac18..2cbea37 100644 --- a/components/SubmittedBotCard.tsx +++ b/components/SubmittedBotCard.tsx @@ -8,22 +8,24 @@ import Link from 'next/link' const SubmittedBotCard = ({ href, submit }:SubmittedBotProps):JSX.Element => { return -
-
-

{submit.id}

-

{submit.intro}

-
-
- - - {' '}{['대기중', '승인됨', '거부됨'][submit.state]} - - } - dark - /> +
+
+
+

{submit.id}

+
+
+ + + {' '}{['대기중', '승인됨', '거부됨'][submit.state]} + + } + dark + /> +
+

{submit.intro.slice(0, 25)}{submit.intro.length > 25 && '...'}