diff --git a/src/components/index.less b/src/components/index.less index 755f4704..b565f972 100644 --- a/src/components/index.less +++ b/src/components/index.less @@ -13,7 +13,6 @@ } .react-terminal { - height: 600px; overflow: auto; display: flex; flex-direction: column; diff --git a/src/pages/error/index.tsx b/src/pages/error/index.tsx index 04643e5f..f87f2599 100644 --- a/src/pages/error/index.tsx +++ b/src/pages/error/index.tsx @@ -43,7 +43,11 @@ const Error = ({ user, theme }: any) => { { type: LineType.Input, value: 'pm2 logs panel' }, { type: LineType.Output, - value: {data}, + value: ( +
+                  {data}
+                
+ ), }, ]} />