mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
style(vscode-ide-companion/ui): improve InfoBanner layout and centering
Add maxWidth constraint and auto margins to center the InfoBanner component for better visual presentation.
This commit is contained in:
@@ -49,6 +49,7 @@ export const ToolCallContainer: React.FC<ToolCallContainerProps> = ({
|
||||
className={`qwen-message message-item ${_className || ''} relative pl-[30px] py-2 select-text toolcall-container toolcall-status-${status}`}
|
||||
>
|
||||
{/* Timeline connector line using ::after pseudo-element */}
|
||||
{/* TODO: gap-0 */}
|
||||
<div className="toolcall-content-wrapper flex flex-col gap-1 min-w-0 max-w-full">
|
||||
<div className="flex items-center gap-1 relative min-w-0">
|
||||
<span className="text-[14px] leading-none font-bold text-[var(--app-primary-foreground)]">
|
||||
|
||||
@@ -51,6 +51,8 @@ export const InfoBanner: React.FC<InfoBannerProps> = ({
|
||||
style={{
|
||||
gap: '12px',
|
||||
padding: '8px 16px',
|
||||
maxWidth: '500px',
|
||||
margin: '0 auto',
|
||||
}}
|
||||
>
|
||||
<div className="flex items-center flex-1 min-w-0" style={{ gap: '8px' }}>
|
||||
|
||||
Reference in New Issue
Block a user