提交 fb4950dc 编写于 作者: J Johannes Rieken

fix #96404

上级 1b6f5598
......@@ -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;
}
......
......@@ -35,6 +35,7 @@ class ErrorTransform implements IOutputTransformContribution {
}
}
container.appendChild(traceback);
DOM.addClasses(container, 'error');
return {
hasDynamicHeight: false
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册