Skip to content

Commit

Permalink
Merge pull request #183608 from microsoft/aamunger/plaintextScrolling
Browse files Browse the repository at this point in the history
use scroll setting variable correctly
  • Loading branch information
amunger authored May 26, 2023
2 parents 9473a29 + c52a87e commit 5dd48a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/notebook-renderers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function renderText(outputInfo: OutputItem, outputElement: HTMLElement, ctx: IRi

const text = outputInfo.text();
const outputScrolling = scrollingEnabled(outputInfo, ctx.settings);
const content = createOutputContent(outputInfo.id, [text], ctx.settings.lineLimit, ctx.settings.outputScrolling, false);
const content = createOutputContent(outputInfo.id, [text], ctx.settings.lineLimit, outputScrolling, false);
content.classList.add('output-plaintext');
if (ctx.settings.outputWordWrap) {
content.classList.add('word-wrap');
Expand Down

0 comments on commit 5dd48a7

Please sign in to comment.