Add width/height properties for default avatars (#2555)
authorSascha Greuel <sascha@softcreatr.de>
Sat, 19 May 2018 18:47:44 +0000 (20:47 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 19 May 2018 18:47:44 +0000 (20:47 +0200)
commit98b2f7cb2d51f18f39ff64f02ddf3ad637b44940
tree230d0746743c6b00a6bb04ed742a832279208fad
parent68588077acc984b8271be2fd4ee7b818c9d8d3de
Add width/height properties for default avatars (#2555)

* Added width/height properties for default avatars

Under certain circumstances, it is possible, that a browser strips the style tag on SVG images. This leads to a display of very tiny avatar images as shown below:

Since `width` and `height` are valid properties and respected by every browser, it's not the worst idea to include them.

* Removed redundant style attribute
wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php