style(vscode-ide-companion): improve UI styling for chat components

This commit is contained in:
yiliang114
2025-11-25 13:39:49 +08:00
parent f623bfbb34
commit 934365c41f
3 changed files with 12 additions and 4 deletions

View File

@@ -61,8 +61,17 @@ export const AssistantMessage: React.FC<AssistantMessageProps> = ({
paddingBottom: '8px',
}}
>
<span style={{ color: 'var(--app-secondary-foreground)' }}>
<p style={{ margin: 0, color: 'var(--app-secondary-foreground)' }}>
<span style={{ color: 'var(--app-secondary-foreground)', width: '100%' }}>
<p
style={{
margin: 0,
color: 'var(--app-secondary-foreground)',
width: '100%',
wordWrap: 'break-word',
overflowWrap: 'break-word',
whiteSpace: 'normal',
}}
>
<MessageContent content={content} onFileClick={onFileClick} />
</p>
</span>