mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 13:40:25 +00:00
div outputs scrollable, register scroll setting
This commit is contained in:
@@ -252,7 +252,7 @@ export const activate: ActivationFunction<void> = (ctx) => {
|
||||
.traceback {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.output > span.scrollable {
|
||||
.output > .scrollable {
|
||||
overflow-y: scroll;
|
||||
max-height: var(--notebook-cell-output-max-height);
|
||||
border: var(--vscode-editorWidget-border);
|
||||
|
||||
@@ -923,6 +923,13 @@ configurationRegistry.registerConfiguration({
|
||||
],
|
||||
tags: ['notebookLayout'],
|
||||
default: 'all'
|
||||
},
|
||||
[NotebookSetting.outputScrolling]: {
|
||||
markdownDescription: nls.localize('notebook.outputScrolling', "Use a scrollable region for notebook output when longer than the limit"),
|
||||
type: 'boolean',
|
||||
default: false
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user