File tree Expand file tree Collapse file tree 4 files changed +84
-250
lines changed
Expand file tree Collapse file tree 4 files changed +84
-250
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,16 @@ const StyledBox = styled(Box)(({theme}) => ({
3131 flexDirection : 'column' ,
3232 padding : '8px' ,
3333 userSelect : 'text' ,
34+ overflow : 'auto' ,
3435 '& .ProcessDetails-cmd' : {
3536 ...theme . mixins . panelBorder . all ,
3637 borderRadius : theme . shape . borderRadius ,
3738 backgroundColor : theme . otherVars . inputDisabledBg ,
3839 wordBreak : 'break-word' ,
3940 margin : '8px 0px' ,
4041 padding : '4px' ,
42+ minHeight : '50px' ,
43+ overflow : 'auto' ,
4144 } ,
4245 '& .ProcessDetails-terminateBtn' : {
4346 backgroundColor : theme . palette . error . main ,
@@ -56,6 +59,7 @@ const StyledBox = styled(Box)(({theme}) => ({
5659 flexGrow : 1 ,
5760 borderRadius : theme . shape . borderRadius ,
5861 padding : '4px' ,
62+ minHeight : '120px' ,
5963 overflow : 'auto' ,
6064 textOverflow : 'wrap-text' ,
6165 margin : '8px 0px' ,
@@ -147,7 +151,7 @@ export default function ProcessDetails({data}) {
147151
148152 const errRe = new RegExp ( ': (' + gettext ( 'error' ) + '|' + gettext ( 'fatal' ) + '):' , 'i' ) ;
149153 return (
150- < StyledBox display = "flex" flexDirection = "column" data-test = "process-details" >
154+ < StyledBox data-test = "process-details" >
151155 < Box data-test = "process-message" > { data . details ?. message } </ Box >
152156 { data . details ?. cmd && < >
153157 < Box > { gettext ( 'Running command' ) } :</ Box >
You can’t perform that action at this time.
0 commit comments