redesign app layout: adjusted padding and margin values
This commit is contained in:
1 parent
f1289c0b6c
commit
72d3635f12
9 files changed
+9
-13
No files matched your search
@@ -106,7 +106,7 @@ const CreatePageSpeed = () => {
|
||||
onClick={() => navigate("/pagespeed")}
|
||||
sx={{
|
||||
backgroundColor: theme.palette.otherColors.fillGray,
|
||||
mb: theme.gap.large,
|
||||
mb: theme.gap.medium,
|
||||
px: theme.gap.ml,
|
||||
"& svg.MuiSvgIcon-root": {
|
||||
mr: theme.gap.small,
|
||||
@@ -122,8 +122,6 @@ const CreatePageSpeed = () => {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
gap: theme.gap.large,
|
||||
// TODO
|
||||
maxWidth: "1000px",
|
||||
}}
|
||||
>
|
||||
<Typography component="h1">Create a page speed monitor</Typography>
|
||||
|
||||
@@ -363,7 +363,7 @@ const PageSpeedDetails = () => {
|
||||
<Stack
|
||||
direction="row"
|
||||
justifyContent="space-between"
|
||||
gap={theme.gap.xl}
|
||||
gap={theme.gap.large}
|
||||
flexWrap="wrap"
|
||||
>
|
||||
<StatBox
|
||||
@@ -409,7 +409,7 @@ const PageSpeedDetails = () => {
|
||||
<PageSpeedLineChart pageSpeedChecks={monitor?.checks?.reverse()} />
|
||||
</Box>
|
||||
<Typography component="h2">Performance report</Typography>
|
||||
<Stack direction="row" alignItems="center" overflow="hidden">
|
||||
<Stack direction="row" alignItems="center" overflow="hidden" flex={1}>
|
||||
<Stack
|
||||
alignItems="center"
|
||||
textAlign="center"
|
||||
|
||||
@@ -136,7 +136,7 @@ const PageSpeed = () => {
|
||||
let isActuallyLoading = isLoading && monitors.length === 0;
|
||||
|
||||
return (
|
||||
<Box className="page-speed">
|
||||
<Box className="page-speed" pt={theme.gap.xl}>
|
||||
{isActuallyLoading ? (
|
||||
<SkeletonLayout />
|
||||
) : monitors?.length !== 0 ? (
|
||||
|
||||
Reference in new issue
Block a user