Просмотр исходного кода

fix(ui): 修复输入框底部超出容器问题,减少底部padding

Mochocyang 3 месяцев назад
Родитель
Сommit
48ae43f5a4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/chat/chat-input.tsx

+ 1 - 1
src/components/chat/chat-input.tsx

@@ -302,7 +302,7 @@ export function ChatInput({ onSend, onStop, isStreaming, placeholder, leftContro
       : "拖动调整输入框高度,双击重置"
       : "拖动调整输入框高度,双击重置"
 
 
   return (
   return (
-    <div ref={rootRef} className="border-t p-3">
+    <div ref={rootRef} className="border-t px-3 pt-2 pb-0">
       <div className="rounded-2xl border bg-background shadow-sm overflow-hidden flex flex-col">
       <div className="rounded-2xl border bg-background shadow-sm overflow-hidden flex flex-col">
         <div
         <div
           role="separator"
           role="separator"