(js) Adjust icon height of sg-avatar-image
parent
cba3819e47
commit
f4a95edc75
|
@ -38,6 +38,7 @@
|
|||
if (attrs.size) {
|
||||
imgElement.attr('width', attrs.size);
|
||||
imgElement.attr('height', attrs.size);
|
||||
mdIconElement.css('font-size', attrs.size + 'px');
|
||||
}
|
||||
|
||||
controller.img = imgElement;
|
||||
|
|
Loading…
Reference in New Issue