User mentions contain a div element (the avatar) inside a span element (the wrapper for both avatar and user name) in the list of mention suggestions and in the mentions themselves.
I do not know if it would be better to show the avatar using a span or to change its parent span elements to div elements (which would require some CSS changes too); however, the contacts menu element, which is a div, is created inside the wrapper for both avatar and user name, so maybe the second alternative is better to also solve this markup problem.
@blizzz @jancborchardt
User mentions contain a
divelement (the avatar) inside aspanelement (the wrapper for both avatar and user name) in the list of mention suggestions and in the mentions themselves.I do not know if it would be better to show the avatar using a
spanor to change its parentspanelements todivelements (which would require some CSS changes too); however, the contacts menu element, which is adiv, is created inside the wrapper for both avatar and user name, so maybe the second alternative is better to also solve this markup problem.@blizzz @jancborchardt