From 1992ca4c81142f42eba9bf960017229984b9fa37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EA=B8=B0=EC=98=81?= Date: Tue, 13 Aug 2024 10:23:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20maxLength=2050=20=EC=9D=BC=EA=B4=84=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9,=20=EA=B0=95=EC=9D=98=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=20=ED=81=AC=EA=B8=B0=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= =?UTF-8?q?,=20=EA=B0=95=EC=9D=98=20=EC=83=9D=EC=84=B1=20maxLength=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Article/EditArticle/EditArticle.jsx | 6 +- .../Article/EditFreeboard/EditFreeboard.jsx | 4 +- .../components/Article/EditQna/EditQna.jsx | 4 +- .../components/ClassCard/ClassCard.module.css | 3 + .../components/LectureForm/LectureForm.jsx | 79 ++++++++++--------- .../LectureForm/LectureForm.module.css | 5 ++ 6 files changed, 58 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/Article/EditArticle/EditArticle.jsx b/frontend/src/components/Article/EditArticle/EditArticle.jsx index c7d4e3f..a675bdb 100644 --- a/frontend/src/components/Article/EditArticle/EditArticle.jsx +++ b/frontend/src/components/Article/EditArticle/EditArticle.jsx @@ -50,8 +50,8 @@ export default function EditArticle({ topic, title, prevTitle, prevContent, onSu value={articleTitle} onChange={(e) => setArticleTitle(e.target.value)} /> - {articleTitle.length > 190 &&
{articleTitle.length} / 200
} - + {articleTitle.length > 49 &&
{articleTitle.length} / 50
} +
{articleContent.length > 950 &&
{articleContent.length} / 1000
} -
+