Skip to content

Commit

Permalink
fix : 모바일 뷰에서 댓글 길이 넘칠 시 글자 잘림 버그 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
publdaze committed Oct 20, 2023
1 parent b1b861c commit 037d55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/board/BoardView/Card/CommentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const CommentCard = ({ commentInfo, replyComments }: CommentCardProps) => {
<Card className="!bg-mainBlack !bg-none">
<CommentCardHeader commentInfo={commentInfo} />
{(!commentInfo.isDeleted || replyComments.length > 0) && (
<CardContent className="mb-5 whitespace-pre sm:!px-16">
<CardContent className="mb-5 whitespace-pre-line break-all sm:!px-16">
{!commentInfo.isDeleted && <Typography marginBottom={5}>{commentInfo.content}</Typography>}
<div className="space-y-3">
{replyComments.map((replyComment) => (
Expand Down

0 comments on commit 037d55f

Please sign in to comment.