Преглед изворни кода

🐛 fix(smart-assistant): adjust chat window height calculation

- 修改多代理情况下的聊天窗口高度计算,从180px调整为260px,解决内容显示不全问题
yourname пре 7 месеци
родитељ
комит
da6875d817
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/client/mobile/components/SmartAssistant/ChatWindow.tsx

+ 1 - 1
src/client/mobile/components/SmartAssistant/ChatWindow.tsx

@@ -129,7 +129,7 @@ export const ChatWindow: React.FC<ChatWindowProps> = ({
         <div
           className="flex-1 overflow-y-auto p-4"
           style={{
-            height: `calc(100% - ${Array.isArray(agents) && agents.length > 1 ? '180px' : '160px'})`,
+            height: `calc(100% - ${Array.isArray(agents) && agents.length > 1 ? '260px' : '160px'})`,
             backgroundColor: INK_THEME.colors.ink.light
           }}
         >