fix bug left part
This commit is contained in:
parent
0c9179f8b5
commit
bc0c5738b1
|
@ -759,7 +759,11 @@ define([
|
||||||
else
|
else
|
||||||
name = this.labelDocName.val();
|
name = this.labelDocName.val();
|
||||||
var width = this.getTextWidth(name);
|
var width = this.getTextWidth(name);
|
||||||
(width>=0) && this.labelDocName.width(width);
|
if (width>=0)
|
||||||
|
{
|
||||||
|
this.labelDocName.width(width);
|
||||||
|
Common.NotificationCenter.trigger('window:resize');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getTextWidth: function(text) {
|
getTextWidth: function(text) {
|
||||||
|
|
|
@ -61,6 +61,8 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
min-width: 150px;
|
||||||
|
|
||||||
> ul {
|
> ul {
|
||||||
padding: 4px 0 0;
|
padding: 4px 0 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in a new issue