diff --git a/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx b/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx index a6f573e1..61690e33 100644 --- a/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx +++ b/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx @@ -32,6 +32,10 @@ const Tip = styled.div` margin-bottom: 4px; `; +const Answer = styled.pre` + white-space: pre-wrap; +`; + const ActionButton = styled.div` min-width: 180px; padding: 4px 6px; @@ -77,7 +81,7 @@ export const AssistantPopover: React.FC<{ <> {value.result ? (
{value.answer}+