Improve output wrapping, fix typo in editor themes
This commit is contained in:
parent
c9346515b2
commit
81a3563181
ui
@ -97,7 +97,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "#2EE6D6",
|
"foreground": "#2EE6D6",
|
||||||
"token": "turqoise"
|
"token": "turquoise"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "#62D96B",
|
"foreground": "#62D96B",
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "#00B3A4",
|
"foreground": "#00B3A4",
|
||||||
"token": "turqoise"
|
"token": "turquoise"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "#29A634",
|
"foreground": "#29A634",
|
||||||
|
@ -43,7 +43,11 @@ const OutputViewerComponent = (_: {}, ref: React.Ref<OutputViewerRef>) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ padding: 10, fontSize: 16 }}>
|
<div style={{ padding: 10, fontSize: 16 }}>
|
||||||
<Text style={{ fontFamily: "monospace" }}>{value}</Text>
|
<pre
|
||||||
|
style={{ margin: 0, whiteSpace: "pre-wrap", wordWrap: "break-word" }}
|
||||||
|
>
|
||||||
|
{value}
|
||||||
|
</pre>
|
||||||
{value && <div style={{ height: 10 }} />}
|
{value && <div style={{ height: 10 }} />}
|
||||||
<Text style={{ fontFamily: "monospace", color: Colors.RED3 }}>
|
<Text style={{ fontFamily: "monospace", color: Colors.RED3 }}>
|
||||||
{error}
|
{error}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user