mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
style(vscode-ide-companion): improve UI styling for chat components
This commit is contained in:
@@ -47,7 +47,7 @@ export const InfoBanner: React.FC<InfoBannerProps> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="flex items-center justify-between border-t"
|
className="flex items-center justify-between"
|
||||||
style={{
|
style={{
|
||||||
gap: '12px',
|
gap: '12px',
|
||||||
padding: '12px 16px',
|
padding: '12px 16px',
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ export const ChatHeader: React.FC<ChatHeaderProps> = ({
|
|||||||
<div
|
<div
|
||||||
className="flex gap-1 select-none py-1.5 px-2.5"
|
className="flex gap-1 select-none py-1.5 px-2.5"
|
||||||
style={{
|
style={{
|
||||||
borderBottom: '1px solid var(--app-primary-border-color)',
|
|
||||||
backgroundColor: 'var(--app-header-background)',
|
backgroundColor: 'var(--app-header-background)',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -61,8 +61,17 @@ export const AssistantMessage: React.FC<AssistantMessageProps> = ({
|
|||||||
paddingBottom: '8px',
|
paddingBottom: '8px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span style={{ color: 'var(--app-secondary-foreground)' }}>
|
<span style={{ color: 'var(--app-secondary-foreground)', width: '100%' }}>
|
||||||
<p style={{ margin: 0, color: 'var(--app-secondary-foreground)' }}>
|
<p
|
||||||
|
style={{
|
||||||
|
margin: 0,
|
||||||
|
color: 'var(--app-secondary-foreground)',
|
||||||
|
width: '100%',
|
||||||
|
wordWrap: 'break-word',
|
||||||
|
overflowWrap: 'break-word',
|
||||||
|
whiteSpace: 'normal',
|
||||||
|
}}
|
||||||
|
>
|
||||||
<MessageContent content={content} onFileClick={onFileClick} />
|
<MessageContent content={content} onFileClick={onFileClick} />
|
||||||
</p>
|
</p>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user