File tree Expand file tree Collapse file tree
src/FE/components/ChatMessage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export const ChatMessage: FC<Props> = memo(
8989 < div
9090 key = { 'user-message-' + index }
9191 className = { cn (
92- 'prose ! w-full dark:prose-invert rounded-r-md group' ,
92+ 'w-full rounded-r-md group' ,
9393 'sm:w-[50vw] xl:w-[50vw]' ,
9494 index > 0 && 'mt-4' ,
9595 ) }
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ const UserMessage = (props: Props) => {
306306 </ div >
307307 </ div >
308308 ) : (
309- < div className = "ml-auto w-fit max-w-[92%] bg-card py-2 px-3 rounded-md overflow-visible chat-message-bg sm:max-w-full " >
309+ < div className = "ml-auto bg-card py-2 px-3 rounded-md overflow-visible chat-message-bg" >
310310 < div className = "flex flex-wrap gap-2 justify-end text-right" >
311311 { fileContents . map ( ( file : any , index ) => {
312312 return (
@@ -321,7 +321,7 @@ const UserMessage = (props: Props) => {
321321 < div className = { `relative group/user-message-text ${ fileContents . length > 0 ? 'mt-2' : '' } ` } >
322322 < div
323323 ref = { textContentRef }
324- className = "prose !w-auto max-w-full whitespace-pre-wrap dark:prose-invert text-sm"
324+ className = "max-w-full whitespace-pre-wrap break-words text-sm leading-[1.6] "
325325 style = {
326326 collapsedMaxHeight
327327 ? {
You can’t perform that action at this time.
0 commit comments