xiaolongmr commited on
Commit
f644e36
·
1 Parent(s): 263e0b9

对话功能

Browse files
web/src/app/chat/components/chat-composer.tsx CHANGED
@@ -126,10 +126,11 @@ export function ChatComposer({
126
  <button
127
  type="button"
128
  onClick={() => fileInputRef.current?.click()}
129
- className="inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full border border-stone-200 bg-white px-3 text-xs font-medium text-stone-700 transition hover:bg-stone-50"
 
 
130
  >
131
- <Paperclip className="size-4" />
132
- 照片和文件
133
  </button>
134
  <Select value={capabilityMode} onValueChange={(value) => onCapabilityModeChange(value as ChatCapabilityMode)}>
135
  <SelectTrigger className="h-9 w-auto shrink-0 gap-1 rounded-full border-stone-200 bg-white px-3 text-xs shadow-none [&>svg]:hidden">
 
126
  <button
127
  type="button"
128
  onClick={() => fileInputRef.current?.click()}
129
+ className="inline-flex size-9 shrink-0 items-center justify-center rounded-full border border-stone-200 bg-white p-0 text-stone-700 transition hover:bg-stone-50 sm:size-10"
130
+ aria-label="上传照片和文件"
131
+ title="上传照片和文件"
132
  >
133
+ <Paperclip className="size-3.5 sm:size-4" />
 
134
  </button>
135
  <Select value={capabilityMode} onValueChange={(value) => onCapabilityModeChange(value as ChatCapabilityMode)}>
136
  <SelectTrigger className="h-9 w-auto shrink-0 gap-1 rounded-full border-stone-200 bg-white px-3 text-xs shadow-none [&>svg]:hidden">