Skip to content

Commit 07879df

Browse files
committed
update the layout since editor toolbar height changes
1 parent 13ceef2 commit 07879df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
13791379
}
13801380

13811381
this._dimension = new DOM.Dimension(dimension.width, dimension.height);
1382-
DOM.size(this._body, dimension.width, dimension.height - (this._useGlobalToolbar ? /** Toolbar height */ 24 : 0));
1382+
DOM.size(this._body, dimension.width, dimension.height - (this._useGlobalToolbar ? /** Toolbar height */ 26 : 0));
13831383
this._list.updateOptions({ additionalScrollHeight: this._scrollBeyondLastLine ? dimension.height - SCROLLABLE_ELEMENT_PADDING_TOP : 0 });
13841384
this._list.layout(dimension.height - SCROLLABLE_ELEMENT_PADDING_TOP, dimension.width);
13851385

0 commit comments

Comments
 (0)