Skip to content

Commit

Permalink
added overflow-wrap: anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd committed Dec 7, 2023
1 parent 582c89c commit f37ce1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/legend/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const Group = function Group(viewer, options = {}) {
return `<div class="flex row align-center padding-left text-smaller pointer collapse-header" style="width: 100%; padding-right: ${padding}">
<div id="${this.getId()}" class="flex row align-center grow">
${expandButton.render()}
<span class="grow padding-x-small" style="word-break: break-all;">${title}</span>
<span class="grow padding-x-small" style="overflow-wrap: anywhere;">${title}</span>
</div>
${tickButton ? tickButton.render() : ''}
${moreInfoButton ? moreInfoButton.render() : ''}
Expand Down

0 comments on commit f37ce1a

Please sign in to comment.