Explorar el Código

添加ai对话框

xiaoguang_li hace 7 meses
padre
commit
0149ed274e
Se han modificado 1 ficheros con 1 adiciones y 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';
       };
 
       // 滚动到底部函数