diff --git a/src/annotations/annotations.ts b/src/annotations/annotations.ts index f9c6b97..3913a78 100644 --- a/src/annotations/annotations.ts +++ b/src/annotations/annotations.ts @@ -213,9 +213,9 @@ export class Annotations { fontStyle: 'normal', height: '100%', margin: '0 26px -1px 0', - textDecoration: separateLines - ? `overline solid rgba(0, 0, 0, .2);box-sizing:border-box${avatars ? ';padding: 0 0 0 18px' : ''}` - : `none;box-sizing:border-box${avatars ? ';padding: 0 0 0 18px' : ''}`, + textDecoration: `${separateLines ? 'overline solid rgba(0, 0, 0, .2)' : 'none'};box-sizing: border-box${ + avatars ? ';padding: 0 0 0 18px' : '' + }`, width: width, uncommittedColor: new ThemeColor('gitlens.gutterUncommittedForegroundColor'), }; diff --git a/src/annotations/gutterBlameAnnotationProvider.ts b/src/annotations/gutterBlameAnnotationProvider.ts index 1b6cc89..4d92af6 100644 --- a/src/annotations/gutterBlameAnnotationProvider.ts +++ b/src/annotations/gutterBlameAnnotationProvider.ts @@ -100,7 +100,7 @@ export class GutterBlameAnnotationProvider extends BlameAnnotationProviderBase { }; if (separateLines) { - gutter.renderOptions.before!.textDecoration = `none;box-sizing:border-box${ + gutter.renderOptions.before!.textDecoration = `none;box-sizing: border-box${ avatars ? ';padding: 0 0 0 18px' : '' }`; } @@ -216,7 +216,7 @@ export class GutterBlameAnnotationProvider extends BlameAnnotationProviderBase { width: '16px', textDecoration: `none;position:absolute;top:1px;left:5px;background:url(${( await commit.getAvatarUri({ defaultStyle: gravatarDefault }) - ).toString()});background-size:16px 16px`, + ).toString()});background-size:16px 16px;margin-left: 0 !important`, }; map.set(commit.email!, avatarDecoration); }