提交 728c1eda 编写于 作者: R rebornix

avoid top toolbar overflow

上级 4a0543ff
......@@ -26,6 +26,10 @@
z-index: 100;
}
.monaco-workbench .notebookOverlay .cell-list-container {
overflow: hidden;
}
.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets > div {
z-index: 600 !important;
/* @rebornix: larger than the editor title bar */
......
......@@ -1678,6 +1678,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
this._localStore.clear();
this._list?.dispose();
this._listTopCellToolbar?.dispose();
this._overlayContainer.remove();
this.viewModel?.dispose();
......
......@@ -33,6 +33,7 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur
import { TestConfigurationService } from 'vs/platform/configuration/test/common/testConfigurationService';
import { IThemeService } from 'vs/platform/theme/common/themeService';
import { TestThemeService } from 'vs/platform/theme/test/common/testThemeService';
import { ScrollEvent } from 'vs/base/common/scrollable';
export class TestCell extends NotebookCellTextModel {
constructor(
......@@ -69,6 +70,7 @@ export class TestNotebookEditor implements INotebookEditor {
multipleKernelsAvailable: boolean = false;
onDidChangeAvailableKernels: Event<void> = new Emitter<void>().event;
onDidChangeActiveCell: Event<void> = new Emitter<void>().event;
onDidScroll = new Emitter<ScrollEvent>().event;
uri?: URI | undefined;
textModel?: NotebookTextModel | undefined;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册