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 {