xiaoguang_li 1 месяц назад
Родитель
Сommit
0149ed274e
1 измененных файлов с 1 добавлено и 1 удалено
  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';
       };
 
       // 滚动到底部函数