Skip to content

Commit 6ef30ee

Browse files
committed
fix line breaks in output
1 parent 3f5f1e4 commit 6ef30ee

File tree

1 file changed

+1
-1
lines changed
  • extensions/notebook-renderers/src

1 file changed

+1
-1
lines changed

extensions/notebook-renderers/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ export const activate: ActivationFunction<void> = (ctx) => {
218218
.output-stream,
219219
.traceback {
220220
display: inline-block;
221+
white-space: pre-wrap;
221222
width: 100%;
222223
line-height: var(--notebook-cell-output-line-height);
223224
font-family: var(--notebook-cell-output-font-family);
@@ -229,7 +230,6 @@ export const activate: ActivationFunction<void> = (ctx) => {
229230
}
230231
output-plaintext,
231232
.traceback {
232-
white-space: pre-wrap;
233233
word-wrap: break-word;
234234
}
235235
.output > span.scrollable {

0 commit comments

Comments
 (0)