File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/vs/workbench/contrib/notebook/browser Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 125
125
.monaco-workbench .notebookOverlay .output {
126
126
position : absolute;
127
127
height : 0px ;
128
- font-size : var (--notebook-cell-output-font-size );
129
128
user-select : text;
130
129
-webkit-user-select : text;
131
130
cursor : auto;
Original file line number Diff line number Diff line change @@ -557,6 +557,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
557
557
insertToolbarPosition,
558
558
insertToolbarAlignment,
559
559
fontSize,
560
+ outputFontSize,
560
561
focusIndicatorLeftMargin,
561
562
focusIndicatorGap
562
563
} = this . _notebookOptions . getLayoutConfiguration ( ) ;
@@ -571,9 +572,8 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
571
572
const fontFamily = this . _generateFontFamily ( ) ;
572
573
573
574
styleSheets . push ( `
574
- :root {
575
- --notebook-cell-output-font-size: ${ fontSize } px;
576
- --notebook-cell-output-font-family: ${ fontFamily } ;
575
+ .notebook-editor {
576
+ --notebook-cell-output-font-size: ${ outputFontSize } px;
577
577
--notebook-cell-input-preview-font-size: ${ fontSize } px;
578
578
--notebook-cell-input-preview-font-family: ${ fontFamily } ;
579
579
}
You can’t perform that action at this time.
0 commit comments