mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
Fixes #209251
This commit is contained in:
parent
3289aba2b8
commit
1c26e87c0d
|
@ -57,8 +57,8 @@ export class DiffEditorWidget extends DelegatingEditor implements IDiffEditor {
|
|||
|
||||
private readonly elements = h('div.monaco-diff-editor.side-by-side', { style: { position: 'relative', height: '100%' } }, [
|
||||
h('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$('span', {}, 'No Changes')]),
|
||||
h('div.editor.original@original', { style: { position: 'absolute', height: '100%', zIndex: '1', } }),
|
||||
h('div.editor.modified@modified', { style: { position: 'absolute', height: '100%', zIndex: '1', } }),
|
||||
h('div.editor.original@original', { style: { position: 'absolute', height: '100%', } }),
|
||||
h('div.editor.modified@modified', { style: { position: 'absolute', height: '100%', } }),
|
||||
h('div.accessibleDiffViewer@accessibleDiffViewer', { style: { position: 'absolute', height: '100%' } }),
|
||||
]);
|
||||
private readonly _diffModel = observableValue<DiffEditorViewModel | undefined>(this, undefined);
|
||||
|
|
|
@ -38,7 +38,7 @@ export class DiffEditorGutter extends Disposable {
|
|||
|
||||
public readonly width = derived(this, reader => this._hasActions.read(reader) ? width : 0);
|
||||
|
||||
private readonly elements = h('div.gutter@gutter', { style: { position: 'absolute', height: '100%', width: width + 'px', zIndex: '0' } }, []);
|
||||
private readonly elements = h('div.gutter@gutter', { style: { position: 'absolute', height: '100%', width: width + 'px' } }, []);
|
||||
|
||||
constructor(
|
||||
diffEditorRoot: HTMLDivElement,
|
||||
|
|
Loading…
Reference in a new issue