Skip to content

Commit

Permalink
fix #96404
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Apr 29, 2020
1 parent 1b6f559 commit fb4950d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/vs/workbench/contrib/notebook/browser/media/notebook.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,15 @@
color: red;
}

.monaco-workbench .part.editor > .content .notebook-editor .output pre.traceback {
.monaco-workbench .part.editor > .content .notebook-editor .output .error > div {
white-space: normal;
}

.monaco-workbench .part.editor > .content .notebook-editor .output .error pre.traceback {
margin: 8px 0;
}

.monaco-workbench .part.editor > .content .notebook-editor .output .traceback > span {
.monaco-workbench .part.editor > .content .notebook-editor .output .error .traceback > span {
display: block;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class ErrorTransform implements IOutputTransformContribution {
}
}
container.appendChild(traceback);
DOM.addClasses(container, 'error');
return {
hasDynamicHeight: false
};
Expand Down

0 comments on commit fb4950d

Please sign in to comment.