mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
fix(desktop): fix project context chip left-aligned in compact mode
This commit is contained in:
parent
eea8ea5cbd
commit
ffef5de9ef
@ -986,7 +986,7 @@ export function ChatInput({ variant = 'default', compact = false }: ChatInputPro
|
||||
<input ref={fileInputRef} type="file" multiple className="hidden" onChange={handleFileSelect} />
|
||||
|
||||
{!isMemberSession && (
|
||||
<div className={useCompactControls ? 'mt-2 flex min-w-0 justify-center px-1' : 'mt-3 px-1'}>
|
||||
<div className={useCompactControls ? 'mt-2 flex min-w-0 px-1' : 'mt-3 px-1'}>
|
||||
{messageCount > 0 ? (
|
||||
<ProjectContextChip
|
||||
workDir={resolvedWorkDir}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user