From 6ef30eeaba7ca6722fabf1cffd05a2ff4a73011f Mon Sep 17 00:00:00 2001 From: aamunger Date: Fri, 18 Nov 2022 10:18:07 -0800 Subject: [PATCH] fix line breaks in output --- extensions/notebook-renderers/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/notebook-renderers/src/index.ts b/extensions/notebook-renderers/src/index.ts index 95248ea5a40..c8a5e5fc000 100644 --- a/extensions/notebook-renderers/src/index.ts +++ b/extensions/notebook-renderers/src/index.ts @@ -218,6 +218,7 @@ export const activate: ActivationFunction = (ctx) => { .output-stream, .traceback { display: inline-block; + white-space: pre-wrap; width: 100%; line-height: var(--notebook-cell-output-line-height); font-family: var(--notebook-cell-output-font-family); @@ -229,7 +230,6 @@ export const activate: ActivationFunction = (ctx) => { } output-plaintext, .traceback { - white-space: pre-wrap; word-wrap: break-word; } .output > span.scrollable {