Skip to content
Snippets Groups Projects
Commit a5d789b6 authored by Zoltan Runyo's avatar Zoltan Runyo
Browse files

ICSHWI-7718: Add bottom-margin to all pages

parent 87eae735
No related branches found
No related tags found
1 merge request!64ICSHWI-7718: Highlight table row in case of IOC discrepancy: IOC name check...
...@@ -83,7 +83,7 @@ export function DeploymentDetails({ deployment, getDeployment, onDeploymentStart ...@@ -83,7 +83,7 @@ export function DeploymentDetails({ deployment, getDeployment, onDeploymentStart
{alert && <Grid item xs={12}> {alert && <Grid item xs={12}>
{alert} {alert}
</Grid>} </Grid>}
<Grid item xs={12} md={12}> <Grid item xs={12} md={12} style={{paddingBottom: 0}}>
{ deployment.awxJobId ? { deployment.awxJobId ?
<SimpleAccordion summary="Deployment Job Output" defaultExpanded> <SimpleAccordion summary="Deployment Job Output" defaultExpanded>
<DeploymentJobOutput awxJobId={deployment.awxJobId} update={updateOutput} /> <DeploymentJobOutput awxJobId={deployment.awxJobId} update={updateOutput} />
......
...@@ -51,7 +51,7 @@ export function IOCDetailsView({ match }) { ...@@ -51,7 +51,7 @@ export function IOCDetailsView({ match }) {
</Tabs> </Tabs>
</Grid> </Grid>
</Grid> </Grid>
<Grid item xs={12}> <Grid item xs={12} style={{paddingBottom: 0}}>
{selectedTab === "Live Status" && <IOCLiveStatus ioc={ioc} />} {selectedTab === "Live Status" && <IOCLiveStatus ioc={ioc} />}
{selectedTab === "Manage deployment" && <IOCManage ioc={ioc} getIOC={getIOC} />} {selectedTab === "Manage deployment" && <IOCManage ioc={ioc} getIOC={getIOC} />}
</Grid> </Grid>
......
...@@ -5,11 +5,19 @@ import { useGlobalAppBar } from "../../components/navigation/GlobalAppBar/Global ...@@ -5,11 +5,19 @@ import { useGlobalAppBar } from "../../components/navigation/GlobalAppBar/Global
import { useDeployment } from '../../api/SwaggerApi'; import { useDeployment } from '../../api/SwaggerApi';
import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import ArrowBackIcon from '@material-ui/icons/ArrowBack';
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
import { makeStyles } from '@material-ui/core/styles';
const useStyles = makeStyles((theme) => ({
root: {
marginBottom: theme.spacing(2),
},
}));
export function DeploymentDetailsView({ match }) { export function DeploymentDetailsView({ match }) {
const id = parseInt(match.params.id); const id = parseInt(match.params.id);
const [deployment, getDeployment] = useDeployment(id); const [deployment, getDeployment] = useDeployment(id);
const history = useHistory(); const history = useHistory();
const classes = useStyles();
useGlobalAppBar( useGlobalAppBar(
"CCCE / Deployment Details" "CCCE / Deployment Details"
...@@ -23,7 +31,7 @@ export function DeploymentDetailsView({ match }) { ...@@ -23,7 +31,7 @@ export function DeploymentDetailsView({ match }) {
return ( return (
<Container data-testid="deployment-details-container"> <Container data-testid="deployment-details-container">
<Paper> <Paper className={classes.root}>
<IconButton color="inherit" onClick={handleClick}> <IconButton color="inherit" onClick={handleClick}>
<ArrowBackIcon /> <ArrowBackIcon />
</IconButton> </IconButton>
......
...@@ -13,6 +13,7 @@ const useStyles = makeStyles((theme) => ({ ...@@ -13,6 +13,7 @@ const useStyles = makeStyles((theme) => ({
paper: { paper: {
maxWidth: "80%", maxWidth: "80%",
padding: theme.spacing(4), padding: theme.spacing(4),
marginBottom: theme.spacing(2),
}, },
})); }));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment