mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
max height buffer to prevent small scrollbar (#214654)
This commit is contained in:
parent
069408ab2c
commit
76664e7ce6
|
@ -462,7 +462,7 @@ export const activate: ActivationFunction<void> = (ctx) => {
|
|||
border-color: var(--theme-input-focus-border-color);
|
||||
}
|
||||
#container div.output .scrollable {
|
||||
overflow-y: scroll;
|
||||
overflow-y: auto;
|
||||
max-height: var(--notebook-cell-output-max-height);
|
||||
}
|
||||
#container div.output .scrollable.scrollbar-visible {
|
||||
|
|
|
@ -270,7 +270,7 @@ export class BackLayerWebView<T extends ICommonCellInfo> extends Themable {
|
|||
'notebook-markdown-line-height': typeof this.options.markdownLineHeight === 'number' && this.options.markdownLineHeight > 0 ? `${this.options.markdownLineHeight}px` : `normal`,
|
||||
'notebook-cell-output-font-size': `${this.options.outputFontSize || this.options.fontSize}px`,
|
||||
'notebook-cell-output-line-height': `${this.options.outputLineHeight}px`,
|
||||
'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit}px`,
|
||||
'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit + 2}px`,
|
||||
'notebook-cell-output-font-family': this.options.outputFontFamily || this.options.fontFamily,
|
||||
'notebook-cell-markup-empty-content': nls.localize('notebook.emptyMarkdownPlaceholder', "Empty markdown cell, double-click or press enter to edit."),
|
||||
'notebook-cell-renderer-not-found-error': nls.localize({
|
||||
|
|
Loading…
Reference in a new issue