style: enhance UserTextPart styling
This commit is contained in:
@@ -72,7 +72,7 @@ const UserTextPart: React.FC<UserTextPartProps> = ({ part, messageId, agentMenti
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"break-words whitespace-pre-wrap",
|
"break-words whitespace-pre-wrap font-sans typography-markdown",
|
||||||
!isExpanded && "line-clamp-3",
|
!isExpanded && "line-clamp-3",
|
||||||
(isTruncated || isExpanded) && "cursor-pointer"
|
(isTruncated || isExpanded) && "cursor-pointer"
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user