Skip to content

Commit b4de725

Browse files
Optimize checkbox selection logic in backup dialog objects tree. #9110
1 parent 04583fe commit b4de725

File tree

4 files changed

+84
-250
lines changed

4 files changed

+84
-250
lines changed

web/pgadmin/misc/bgprocess/static/js/ProcessDetails.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)