Skip to content

Commit 2a19176

Browse files
committed
fix: modified editor width(microsoft#175397)
1 parent 18136ed commit 2a19176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/browser/widget/diffEditorWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ export class DiffEditorWidget extends Disposable implements editorBrowser.IDiffE
13681368
this._originalDomNode.style.width = splitPoint + 'px';
13691369
this._originalDomNode.style.left = '0px';
13701370

1371-
this._modifiedDomNode.style.width = (width - splitPoint) + 'px';
1371+
this._modifiedDomNode.style.width = (width - splitPoint - DiffEditorWidget.ENTIRE_DIFF_OVERVIEW_WIDTH) + 'px';
13721372
this._modifiedDomNode.style.left = splitPoint + 'px';
13731373

13741374
this._overviewDomElement.style.top = '0px';

0 commit comments

Comments
 (0)