Fix compactHeader mode
This commit is contained in:
parent
e0207d9f31
commit
6d7ef4c605
|
@ -221,6 +221,7 @@ define([
|
||||||
'</div>');
|
'</div>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!config.isEdit || !config.customization || !config.customization.compactHeader) {
|
||||||
var $parent = this.labelDocName.parent();
|
var $parent = this.labelDocName.parent();
|
||||||
var _left_width = $parent.position().left,
|
var _left_width = $parent.position().left,
|
||||||
_right_width = $parent.next().outerWidth();
|
_right_width = $parent.next().outerWidth();
|
||||||
|
@ -230,6 +231,7 @@ define([
|
||||||
else this.labelDocName.parent().css('padding-right', _left_width - _right_width);
|
else this.labelDocName.parent().css('padding-right', _left_width - _right_width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function onAppReady(mode) {
|
function onAppReady(mode) {
|
||||||
appConfig = mode;
|
appConfig = mode;
|
||||||
|
|
Loading…
Reference in a new issue