Skip to content

Commit 01063c2

Browse files
authored
Adjust comment+diff gutter by 1px (microsoft#158560)
Fixes microsoft#158521
1 parent 82fce9f commit 01063c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vs/workbench/contrib/comments/browser/commentsEditorContribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ export class CommentController implements IEditorContribution {
865865
if (options.get(EditorOption.folding) && options.get(EditorOption.showFoldingControls) !== 'never') {
866866
lineDecorationsWidth -= 16;
867867
}
868-
lineDecorationsWidth += 14;
868+
lineDecorationsWidth += 15;
869869
extraEditorClassName.push('inline-comment');
870870
this.editor.updateOptions({
871871
extraEditorClassName: extraEditorClassName.join(' '),

src/vs/workbench/contrib/comments/browser/media/review.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ div.preview.inline .monaco-editor .comment-range-glyph {
444444

445445
.monaco-editor.inline-comment .margin-view-overlays .codicon-folding-expanded,
446446
.monaco-editor.inline-comment .margin-view-overlays .codicon-folding-collapsed {
447-
margin-left: 13px;
447+
margin-left: 14px;
448448
}
449449

450450
.monaco-editor.inline-comment .margin-view-overlays .dirty-diff-glyph {
451-
margin-left: 23px;
451+
margin-left: 24px;
452452
}

0 commit comments

Comments
 (0)