CE-938 - Add class & rule for margin of alert-widgets inside processes

This commit is contained in:
2024-06-04 10:54:12 -05:00
parent 2afa82c770
commit c3503a719f
2 changed files with 9 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ function ProcessRun({process, table, defaultProcessValues, isModal, isWidget, is
);
const body = (
<Box py={3} mb={20}>
<Box py={3} mb={20} className="processRun">
<Grid container justifyContent="center" alignItems="center" sx={{height: "100%", mt: 8}}>
<Grid item xs={12} lg={10} xl={8}>
{form}

View File

@ -717,6 +717,7 @@ input[type="search"]::-webkit-search-results-decoration
background-color: #0062FF !important;
}
/* several styles below here for user-defined alert inside helpContent */
.helpContentAlert
{
padding: 6px 16px;
@ -779,3 +780,10 @@ input[type="search"]::-webkit-search-results-decoration
{
color: #F44335;
}
/* the alert widget, was built with minimal (no?) margins, for embedding in
a parent widget; but for using it on a process, give it some breathing room */
.processRun .widget .MuiAlert-root
{
margin: 2rem 1rem;
}