mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
CE-938 - Add class & rule for margin of alert-widgets inside processes
This commit is contained in:
@ -1571,7 +1571,7 @@ function ProcessRun({process, table, defaultProcessValues, isModal, isWidget, is
|
|||||||
);
|
);
|
||||||
|
|
||||||
const body = (
|
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 container justifyContent="center" alignItems="center" sx={{height: "100%", mt: 8}}>
|
||||||
<Grid item xs={12} lg={10} xl={8}>
|
<Grid item xs={12} lg={10} xl={8}>
|
||||||
{form}
|
{form}
|
||||||
|
@ -717,6 +717,7 @@ input[type="search"]::-webkit-search-results-decoration
|
|||||||
background-color: #0062FF !important;
|
background-color: #0062FF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* several styles below here for user-defined alert inside helpContent */
|
||||||
.helpContentAlert
|
.helpContentAlert
|
||||||
{
|
{
|
||||||
padding: 6px 16px;
|
padding: 6px 16px;
|
||||||
@ -779,3 +780,10 @@ input[type="search"]::-webkit-search-results-decoration
|
|||||||
{
|
{
|
||||||
color: #F44335;
|
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;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user