@@ -556,6 +556,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
556
556
cellRunGutter,
557
557
cellBottomMargin,
558
558
codeCellLeftMargin,
559
+ markdownCellLeftMargin,
559
560
markdownCellBottomMargin,
560
561
markdownCellTopMargin,
561
562
bottomToolbarGap : bottomCellToolbarGap ,
@@ -717,12 +718,17 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
717
718
styleSheets . push ( `.notebookOverlay .output { margin: 0px ${ cellRightMargin } px 0px ${ codeCellLeftMargin + cellRunGutter } px; }` ) ;
718
719
styleSheets . push ( `.notebookOverlay .output { width: calc(100% - ${ codeCellLeftMargin + cellRunGutter + cellRightMargin } px); }` ) ;
719
720
721
+ // output toolbar
722
+ styleSheets . push ( `.monaco-workbench .notebookOverlay .output .cell-output-toolbar { left: -${ cellRunGutter } px; }` ) ;
723
+ styleSheets . push ( `.monaco-workbench .notebookOverlay .output .cell-output-toolbar { width: ${ cellRunGutter } px; }` ) ;
724
+
720
725
styleSheets . push ( `.notebookOverlay .output-show-more-container { margin: 0px ${ cellRightMargin } px 0px ${ codeCellLeftMargin + cellRunGutter } px; }` ) ;
721
726
styleSheets . push ( `.notebookOverlay .output-show-more-container { width: calc(100% - ${ codeCellLeftMargin + cellRunGutter + cellRightMargin } px); }` ) ;
722
-
723
- styleSheets . push ( `.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row div.cell.markdown { padding-left: ${ cellRunGutter } px; }` ) ;
724
727
styleSheets . push ( `.notebookOverlay .cell .run-button-container { width: ${ cellRunGutter } px; left: ${ codeCellLeftMargin } px }` ) ;
725
728
styleSheets . push ( `.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .execution-count-label { left: ${ codeCellLeftMargin } px; width: ${ cellRunGutter } px; }` ) ;
729
+
730
+ styleSheets . push ( `.notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row div.cell.markdown { padding-left: ${ cellRunGutter } px; }` ) ;
731
+ styleSheets . push ( `.monaco-workbench .notebookOverlay > .cell-list-container .notebook-folding-indicator { left: ${ ( markdownCellLeftMargin - 20 ) / 2 } px; }` ) ;
726
732
styleSheets . push ( `.notebookOverlay .monaco-list .monaco-list-row :not(.webview-backed-markdown-cell) .cell-focus-indicator-top { height: ${ cellTopMargin } px; }` ) ;
727
733
styleSheets . push ( `.notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-side { bottom: ${ bottomCellToolbarGap } px; }` ) ;
728
734
styleSheets . push ( `.notebookOverlay .monaco-list .monaco-list-row.code-cell-row .cell-focus-indicator-left,
0 commit comments