Skip to content

userWidget: Handle non-square icons gracefully

We currently assume that user icons are square, which is the case when set by the users settings panel, but not enforced by AccountsService.

Handle that case by moving the pixel size back to the actor and using an appropriate background-size style property of 'cover' (which means the smallest dimension of the image is scaled to fit the desired size).

Fixes #1144 (closed)

Merge request reports