Fix centering issue for status page bars
This commit is contained in:
1 parent
8e47e8cd3d
commit
594540cff5
1 file changed
+8
-5
@@ -30,10 +30,9 @@ const MonitorsList = ({
|
|||||||
<Stack
|
<Stack
|
||||||
key={monitor._id}
|
key={monitor._id}
|
||||||
width="100%"
|
width="100%"
|
||||||
gap={theme.spacing(2)}
|
gap={theme.spacing(3)}
|
||||||
margin="0 auto"
|
margin="0 auto"
|
||||||
maxWidth="1200px"
|
maxWidth="95%"
|
||||||
paddingX={theme.spacing(7)}
|
|
||||||
>
|
>
|
||||||
<Host
|
<Host
|
||||||
key={monitor._id}
|
key={monitor._id}
|
||||||
@@ -46,14 +45,18 @@ const MonitorsList = ({
|
|||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
gap={theme.spacing(20)}
|
gap={theme.spacing(1)}
|
||||||
>
|
>
|
||||||
{statusPage.showCharts !== false && (
|
{statusPage.showCharts !== false && (
|
||||||
<Box flex={9}>
|
<Box flex={9}>
|
||||||
<StatusPageBarChart checks={monitor?.checks?.slice().reverse()} />
|
<StatusPageBarChart checks={monitor?.checks?.slice().reverse()} />
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
<Box flex={statusPage.showCharts !== false ? 1 : 10}>
|
<Box
|
||||||
|
flex={statusPage.showCharts !== false ? 1 : 10}
|
||||||
|
display="flex"
|
||||||
|
justifyContent="right"
|
||||||
|
>
|
||||||
<StatusLabel
|
<StatusLabel
|
||||||
status={status}
|
status={status}
|
||||||
text={status}
|
text={status}
|
||||||
|
|||||||
Reference in new issue
Block a user