Skip to content

Commit

Permalink
fix: 답변 출처 링크 넘어가는 버그 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Oct 6, 2024
1 parent a2bf531 commit b709942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/components/atom/chat-card/chat-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const ChatCard = ({ content, role }: ChatCardProps) => {
})}
>
<div
className={cn('flex w-auto rounded-md bg-white px-5 py-3 text-black', {
className={cn('flex w-auto break-words rounded-md bg-white px-5 py-3 text-black', {
'justify-end bg-primary-blue text-white': role === 'user',
'max-w-full justify-start text-left mobile:max-w-full desktop:max-w-[2/3]': role !== 'user', // 모바일에서는 w-auto,
'justify-start text-left mobile:max-w-full desktop:max-w-[2/3]': role !== 'user', // 모바일에서는 w-auto,
})}
>
<div className="text-md font-pretendard font-normal">
Expand Down

0 comments on commit b709942

Please sign in to comment.