This commit is contained in:
OVSharova
2023-08-29 13:53:16 +03:00
parent 021c0b6536
commit 94f497260f
2 changed files with 3 additions and 2 deletions

View File

@ -209,6 +209,7 @@ define([
this.editor.$btnexpand['removeClass']('btn-collapse');
o && Common.localStorage.setBool('sse-celleditor-expand', false);
}
this.onCellEditorTextChange();
}
},

View File

@ -118,8 +118,8 @@ define([
var btnexpandParent = this.$btnexpand.parent()[0];
if(this.$cellcontent[0].clientHeight != this.$cellcontent[0].scrollHeight) {
var scrollBarWidth = this.$cellcontent[0].offsetWidth - this.$cellcontent[0].clientWidth;
btnexpandParent.style.right = Common.UI.isRTL() ? "auto" : scrollBarWidth + "px";
btnexpandParent.style.left = Common.UI.isRTL() ? scrollBarWidth + "px" : "auto";
btnexpandParent.style.right = Common.UI.isRTL() ? '' : scrollBarWidth + "px";
btnexpandParent.style.left = Common.UI.isRTL() ? scrollBarWidth + "px" : '';
}
else {
btnexpandParent.style.right = '';