SVG format doesn't respect size attribute.
shahzeb1 opened this issue · 1 comments
shahzeb1 commented
When both size
and type
arguments are given, the format is correct (SVG), but the size of the SVG is not changed by the "500" which is being passed in.
Fix:
Change https://github.com/tobiaslins/avatar/blob/master/src/svg.js#L3 so that width="120" height="120"
is changed to width="[size]" height="[size]"
tobiaslins commented