From 7ed23e04f257412ed9bc6bccd132ebe713aa952e Mon Sep 17 00:00:00 2001 From: Hojin Date: Fri, 26 Jan 2024 12:45:27 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EA=B8=80=EC=9E=90=EC=88=98=EC=A0=9C?= =?UTF-8?q?=ED=95=9C=2019->16,=20=EC=9D=B4=EB=9F=B0=EC=A0=90=EC=9D=B4?= =?UTF-8?q?=EC=A2=8B=EC=95=98=EC=96=B4=EC=9A=94=20=EC=84=B8=EB=A1=9C?= =?UTF-8?q?=EA=B0=80=EC=9A=B4=EB=8D=B0=EC=A0=95=EB=A0=AC=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DetailSectionBottom/DetailReviewStats.tsx | 2 +- src/components/Plan/PlanEditItemBox.tsx | 4 ++-- src/components/Plan/PlanItemBox.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/DetailSectionBottom/DetailReviewStats.tsx b/src/components/DetailSectionBottom/DetailReviewStats.tsx index 7a2342b4..ade45a12 100644 --- a/src/components/DetailSectionBottom/DetailReviewStats.tsx +++ b/src/components/DetailSectionBottom/DetailReviewStats.tsx @@ -25,7 +25,7 @@ const DetailReviewStats = () => { backgroundColor: getColor(data.keywordCount), }} /> -
+

{getEmoji(data.content)}

{data.content}

diff --git a/src/components/Plan/PlanEditItemBox.tsx b/src/components/Plan/PlanEditItemBox.tsx index 48230566..c1a3fa98 100644 --- a/src/components/Plan/PlanEditItemBox.tsx +++ b/src/components/Plan/PlanEditItemBox.tsx @@ -140,8 +140,8 @@ const PlanEditItemBox = ({ />
- {item.name.length > 17 - ? item.name.slice(0, 17) + '...' + {item.name.length > 16 + ? item.name.slice(0, 16) + '...' : item.name}
diff --git a/src/components/Plan/PlanItemBox.tsx b/src/components/Plan/PlanItemBox.tsx index a09fb8cd..4cdd0f64 100644 --- a/src/components/Plan/PlanItemBox.tsx +++ b/src/components/Plan/PlanItemBox.tsx @@ -84,8 +84,8 @@ const PlanItemBox = ({ />
- {item.name.length > 19 - ? item.name.slice(0, 19) + '...' + {item.name.length > 16 + ? item.name.slice(0, 16) + '...' : item.name}