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