Skip to content

Fix avatar rendering in projects and groups navigation

What does this MR do?

The avatar on projects and groups navigation dropdown are stretched to fit into a square even though the image might not be a square.

The fix is just add missing class to the html element.

Related issue: #196870 (closed)

Screenshots

Tested with ubuntu logo:

setting_logo

search_logo

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Jordan Fernando

Merge request reports

Loading