Skip to content

Commit 708ec07

Browse files
committed
thin border, no word wrap
1 parent b3f3de9 commit 708ec07

File tree

1 file changed

+7
-6
lines changed
  • extensions/notebook-renderers/src

1 file changed

+7
-6
lines changed

extensions/notebook-renderers/src/index.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,24 +221,25 @@ export const activate: ActivationFunction<void> = (ctx) => {
221221
width: 100%;
222222
line-height: var(--notebook-cell-output-line-height);
223223
font-family: var(--notebook-cell-output-font-family);
224-
white-space: pre-wrap;
225-
word-wrap: break-word;
226-
227224
font-size: var(--notebook-cell-output-font-size);
228225
user-select: text;
229226
-webkit-user-select: text;
230227
-ms-user-select: text;
231228
cursor: auto;
232229
}
233-
230+
output-plaintext,
231+
.traceback {
232+
white-space: pre-wrap;
233+
word-wrap: break-word;
234+
}
234235
.output > span.scrollable {
235236
overflow-y: scroll;
236237
max-height: var(--notebook-cell-output-max-height);
237238
border: var(--vscode-editorWidget-border);
238239
border-style: solid;
239240
padding-left: 4px;
240-
margin-left: -4px;
241-
margin-right: -4px;
241+
box-sizing: border-box;
242+
border-width: 1px;
242243
}
243244
.output-plaintext .code-bold,
244245
.output-stream .code-bold,

0 commit comments

Comments
 (0)