Address comment and nit

This commit is contained in:
Guillaume Martigny 2016-12-05 09:43:15 +01:00
parent 5544f734cf
commit 9ac9583455
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@
flex: 1 auto;
white-space: nowrap;
}
.layer-item .layer-name.overflowing-name {
overflow: hidden;
text-overflow: ellipsis;

View File

@ -102,7 +102,7 @@
if (layerItem.offsetWidth < layerItem.scrollWidth) {
$(layerItem).find('.layer-name')
.addClass('overflowing-name')
.attr('title', pskl.utils.TooltipFormatter.format(layer.getName()))
.attr('title', layer.getName())
.tooltip();
}
};