From 76983bba6964e670c4c9dd61d761216d1c1af2d4 Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Mon, 12 Aug 2024 09:15:59 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=EA=B8=B4=20=EA=B8=80=20=EB=84=98?= =?UTF-8?q?=EC=B9=98=EC=A7=80=20=EC=95=8A=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Article/ArticleDetail/ArticleDetail.module.css | 4 +++- .../Article/ArticlePreview/ArticlePreview.module.css | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Article/ArticleDetail/ArticleDetail.module.css b/frontend/src/components/Article/ArticleDetail/ArticleDetail.module.css index f20f07d..45f27d7 100644 --- a/frontend/src/components/Article/ArticleDetail/ArticleDetail.module.css +++ b/frontend/src/components/Article/ArticleDetail/ArticleDetail.module.css @@ -14,6 +14,7 @@ display: flex; justify-content: space-between; align-items: end; + word-break: break-word; } .headerInside { @@ -53,7 +54,8 @@ line-height: 1.4; font-weight: 400; margin: 0; - white-space: pre-wrap; + white-space: pre-line; + word-break: break-word; } .icon { diff --git a/frontend/src/components/Article/ArticlePreview/ArticlePreview.module.css b/frontend/src/components/Article/ArticlePreview/ArticlePreview.module.css index 4044e6a..468ed3a 100644 --- a/frontend/src/components/Article/ArticlePreview/ArticlePreview.module.css +++ b/frontend/src/components/Article/ArticlePreview/ArticlePreview.module.css @@ -34,6 +34,9 @@ font-size: 16px; line-height: 1.4; font-weight: 400; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .empty {