diff --git a/web/pgadmin/dashboard/static/js/Dashboard.jsx b/web/pgadmin/dashboard/static/js/Dashboard.jsx index 32a634c081f..6ea557168e3 100644 --- a/web/pgadmin/dashboard/static/js/Dashboard.jsx +++ b/web/pgadmin/dashboard/static/js/Dashboard.jsx @@ -1064,7 +1064,7 @@ function Dashboard({ {!_.isUndefined(preferences) && preferences.show_activity && ( - + - + - + ({ ...theme.mixins.panelBorder.all, display: 'flex', flexDirection: 'column', overflow: 'hidden !important', - height: '100%', + height: 'auto', width: '100%', - minHeight: '400px', borderRadius: theme.shape.borderRadius, '& .SectionContainer-cardHeader': { backgroundColor: theme.otherVars.tableBg, @@ -32,20 +32,36 @@ const StyledBox = styled(Box)(({theme}) => ({ width: '100%', } }, + // Added this to remove the borders from pgrt. + '& .pgrt': { + borderRight: 'none !important', + borderLeft: 'none !important', + borderBottom: 'none !important', + }, })); export default function SectionContainer({title, titleExtras, children, style}) { return ( - -
{title}
-
- {titleExtras} -
-
- - {children} - + + +
{title}
+
+ {titleExtras} +
+
+ + {children} + +
); }