Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/features/study/group/channel/ui/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default function Comment({ data, groupStudyId, mode }: CommentProps) {
handleDelete(data.threadId, data.commentId);
}}
/>
<div className="flex flex-1 items-start gap-150">
<div className="flex min-w-0 flex-1 items-start gap-150">
<UserProfileModal
memberId={data.authorId}
trigger={
Expand All @@ -225,7 +225,7 @@ export default function Comment({ data, groupStudyId, mode }: CommentProps) {
}}
/>
) : (
<div className="flex flex-1 flex-col gap-100">
<div className="flex min-w-0 flex-1 flex-col gap-100">
<div className="flex items-center gap-100">
<span className="font-designer-15b">{data.authorName}</span>
{data.isLeader && (
Expand All @@ -237,7 +237,7 @@ export default function Comment({ data, groupStudyId, mode }: CommentProps) {
{dayjs(data.updatedAt).format('YYYY.MM.DD HH:mm')}
</span>
</div>
<p className="font-designer-15r break-all whitespace-pre-wrap">
<p className="font-designer-15r wrap-anywhere whitespace-pre-wrap">
{data.content}
</p>
</div>
Expand Down
Loading