mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 07:31:55 +08:00
fix bug
This commit is contained in:
@ -209,6 +209,7 @@ define([
|
||||
this.editor.$btnexpand['removeClass']('btn-collapse');
|
||||
o && Common.localStorage.setBool('sse-celleditor-expand', false);
|
||||
}
|
||||
this.onCellEditorTextChange();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user