fix bug left part

This commit is contained in:
OVSharova 2022-05-01 19:51:49 +03:00
parent 0c9179f8b5
commit bc0c5738b1
2 changed files with 7 additions and 1 deletions

View file

@ -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) {

View file

@ -61,6 +61,8 @@
overflow: hidden;
display: flex;
min-width: 150px;
> ul {
padding: 4px 0 0;
margin: 0;