(js) Adjust icon height of sg-avatar-image

This commit is contained in:
Francis Lachapelle 2016-05-11 12:26:36 -04:00
parent cba3819e47
commit f4a95edc75

View file

@ -38,6 +38,7 @@
if (attrs.size) { if (attrs.size) {
imgElement.attr('width', attrs.size); imgElement.attr('width', attrs.size);
imgElement.attr('height', attrs.size); imgElement.attr('height', attrs.size);
mdIconElement.css('font-size', attrs.size + 'px');
} }
controller.img = imgElement; controller.img = imgElement;