From 3dc9e6962672ac40a1ceeadb6a37ad0b57afdefb Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 24 Sep 2019 00:01:07 -0400 Subject: [PATCH] Fixes #858 - forces 16x16 avatars in hovers --- CHANGELOG.md | 1 + src/git/formatters/commitFormatter.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5438893..0a4e880 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed +- Fixes [#858](https://github.com/eamodio/vscode-gitlens/issues/858) - GitHub avatars in blame line hovers are huge - Fixes issue with locating a working file when the file is staged or modified ## [10.0.0]- 2019-09-20 diff --git a/src/git/formatters/commitFormatter.ts b/src/git/formatters/commitFormatter.ts index b0e96dd..5c89659 100644 --- a/src/git/formatters/commitFormatter.ts +++ b/src/git/formatters/commitFormatter.ts @@ -129,7 +129,9 @@ export class CommitFormatter extends Formatter { return emptyStr; } - let avatar = `![](${this._item.getGravatarUri(Container.config.defaultGravatarsStyle).toString(true)})`; + let avatar = `![](${this._item + .getGravatarUri(Container.config.defaultGravatarsStyle) + .toString(true)}|width=16,height=16)`; const presence = this._options.presence; if (presence != null) {