Add ellipsis to category names

This commit is contained in:
Bryan Housel
2017-01-30 13:12:09 -05:00
parent efa424bd7a
commit bd069786bb

View File

@@ -184,7 +184,7 @@ export function uiPresetList(context) {
label
.call(svgIcon((textDirection === 'rtl' ? '#icon-backward' : '#icon-forward'), 'inline'))
.append('span')
.text(function() { return preset.name(); });
.html(function() { return preset.name() + '…'; });
box = selection.append('div')
.attr('class', 'subgrid col12')