修改error页面样式

This commit is contained in:
whyour 2022-02-26 14:24:23 +08:00
parent d49e711a34
commit a0d0197ad7
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,6 @@
} }
.react-terminal { .react-terminal {
height: 600px;
overflow: auto; overflow: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -43,7 +43,11 @@ const Error = ({ user, theme }: any) => {
{ type: LineType.Input, value: 'pm2 logs panel' }, { type: LineType.Input, value: 'pm2 logs panel' },
{ {
type: LineType.Output, type: LineType.Output,
value: <Ansi>{data}</Ansi>, value: (
<pre>
<Ansi>{data}</Ansi>
</pre>
),
}, },
]} ]}
/> />