Commit e1b2677e authored by Jordan Fernando's avatar Jordan Fernando

Fix avatar rendering in projects and groups navigation

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.
parent 03c0f35c
...@@ -54,8 +54,8 @@ export default { ...@@ -54,8 +54,8 @@ export default {
<template> <template>
<li class="frequent-items-list-item-container"> <li class="frequent-items-list-item-container">
<a :href="webUrl" class="clearfix"> <a :href="webUrl" class="clearfix">
<div class="frequent-items-item-avatar-container"> <div class="frequent-items-item-avatar-container avatar-container rect-avatar s32">
<img v-if="hasAvatar" :src="avatarUrl" class="avatar rect-avatar s32" /> <img v-if="hasAvatar" :src="avatarUrl" class="avatar s32" />
<identicon <identicon
v-else v-else
:entity-id="itemId" :entity-id="itemId"
......
---
title: dragoon20
merge_request: 24958
author: Jordan Fernando
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment