fix bug left part
This commit is contained in:
parent
0c9179f8b5
commit
bc0c5738b1
|
@ -759,7 +759,11 @@ define([
|
|||
else
|
||||
name = this.labelDocName.val();
|
||||
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) {
|
||||
|
|
|
@ -61,6 +61,8 @@
|
|||
overflow: hidden;
|
||||
display: flex;
|
||||
|
||||
min-width: 150px;
|
||||
|
||||
> ul {
|
||||
padding: 4px 0 0;
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in a new issue