Article
· Jan 19, 2016 1m read

[BUG - FILED] Display problem on friends list for contacts with default avatar.

 

Quick investigation reveals that the contact image with no avatar specified is missing the class img-responsive which breaks the layout. 

Actually it looks like it's just a hard-coded width and height?

 

<img typeof="foaf:Image" src="https://community.intersystems.com/sites/default/files/pictures/picture-..." alt="Default Avatar's picture" title="Default Avatar's picture">

vs

<img class="img-responsive" typeof="foaf:Image" src="https://community.intersystems.com/sites/default/files/styles/user_small..." width="50" height="50" alt="Custom Avatar's picture" title="Custom Avatar's picture">
Discussion (1)0
Log in or sign up to continue