Explorar o código

添加ai对话框

xiaoguang_li hai 7 meses
pai
achega
0149ed274e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/templates/assist.mako

+ 1 - 1
desktop/core/src/desktop/templates/assist.mako

@@ -2887,7 +2887,7 @@ from desktop.views import _ko
       ChatPanel.prototype.autoResize = function (data, event) {
         let inputArea = event.target;
         inputArea.style.height = 'auto';
-        inputArea.style.height = inputArea.scrollHeight + 'px';
+        inputArea.style.height = inputArea.scrollHeight -23 + 'px';
       };
 
       // 滚动到底部函数