From c9881234e3800c02f99a613b96dd2622cd25fad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=AC=EC=9E=AC=EC=97=BD?= <jysim0326@ajou.ac.kr> Date: Tue, 10 Dec 2024 00:28:37 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=EC=B1=84=ED=8C=85=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=20=ED=99=94=EB=A9=B4=20=ED=91=9C=EC=8B=9C=20=ED=81=AC?= =?UTF-8?q?=EA=B8=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ChattingDetail.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/ChattingDetail.jsx b/src/components/ChattingDetail.jsx index 3a3330e..de1aa52 100644 --- a/src/components/ChattingDetail.jsx +++ b/src/components/ChattingDetail.jsx @@ -1019,12 +1019,11 @@ function ChattingDetail() { <MessageBubble isMine={isMine} - highlighted={ - searchResults[currentSearchIndex] === messageData - } + highlighted={searchResults[currentSearchIndex] === messageData} onContextMenu={(e) => handleRightClick(e, messageData)} style={{ - textAlign: isMine ? "right" : "left", + textAlign: "left", + maxWidth: "75%", // 화면의 75%를 넘지 않도록 제한 }} > <div -- GitLab