mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Add ellipsis to category names
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user