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 {
<template>
<li class="frequent-items-list-item-container">
<a :href="webUrl" class="clearfix">
<div class="frequent-items-item-avatar-container">
<img v-if="hasAvatar" :src="avatarUrl" class="avatar rect-avatar s32" />
<div class="frequent-items-item-avatar-container avatar-container rect-avatar s32">
<img v-if="hasAvatar" :src="avatarUrl" class="avatar s32" />
<identicon
v-else
: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