Przeglądaj źródła

Fixes #858 - forces 16x16 avatars in hovers

main
Eric Amodio 5 lat temu
rodzic
commit
3dc9e69626
2 zmienionych plików z 4 dodań i 1 usunięć
  1. +1
    -0
      CHANGELOG.md
  2. +3
    -1
      src/git/formatters/commitFormatter.ts

+ 1
- 0
CHANGELOG.md Wyświetl plik

@ -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

+ 3
- 1
src/git/formatters/commitFormatter.ts Wyświetl plik

@ -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) {

Ładowanie…
Anuluj
Zapisz