Skip to content

Commit

Permalink
Add initial dy value to assigned dy and include pixel unit. Closes #247.
Browse files Browse the repository at this point in the history
  • Loading branch information
katiepark committed Oct 6, 2017
1 parent 2e6e942 commit 0d896c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphic_templates/_base/js/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ var wrapText = function(texts, width, lineHeight) {
.attr('x', x)
.attr('y', y)
.attr('dx', dx + 'px')
.attr('dy', lineNumber * lineHeight)
.attr('dy', (lineNumber * lineHeight) + dy + 'px')
.attr('text-anchor', 'begin')
.text(word);
}
Expand Down

0 comments on commit 0d896c8

Please sign in to comment.