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
@@ -30,7 +30,5 @@
|
|||||||
|
|
||||||
.home-layout > div {
|
.home-layout > div {
|
||||||
min-height: calc(100vh - var(--env-var-spacing-2) * 2);
|
min-height: calc(100vh - var(--env-var-spacing-2) * 2);
|
||||||
padding-top: var(--env-var-spacing-4);
|
|
||||||
width: 100%;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
@@ -78,7 +78,7 @@ const Incidents = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className="incidents" gap={theme.gap.large}>
|
<Stack className="incidents" pt={theme.gap.xl} gap={theme.gap.large}>
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<SkeletonLayout />
|
<SkeletonLayout />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ const Integrations = () => {
|
|||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className="integrations" gap={theme.gap.xs}>
|
<Stack className="integrations" pt={theme.gap.xl} gap={theme.gap.xs}>
|
||||||
<Typography component="h1">Integrations</Typography>
|
<Typography component="h1">Integrations</Typography>
|
||||||
<Typography mb={theme.gap.large}>
|
<Typography mb={theme.gap.large}>
|
||||||
Connect BlueWave Uptime to your favorite service.
|
Connect BlueWave Uptime to your favorite service.
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
.configure-monitor-form {
|
.configure-monitor-form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--env-var-spacing-4);
|
gap: var(--env-var-spacing-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.configure-monitor) .select-dropdown .MuiMenuItem-root,
|
body:has(.configure-monitor) .select-dropdown .MuiMenuItem-root,
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
.create-monitor-form {
|
.create-monitor-form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--env-var-spacing-4);
|
gap: var(--env-var-spacing-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.create-monitor .MuiStack-root .MuiButtonGroup-root button {
|
.create-monitor .MuiStack-root .MuiButtonGroup-root button {
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ const Monitors = () => {
|
|||||||
let loading = monitorState.isLoading && monitorState.monitors.length === 0;
|
let loading = monitorState.isLoading && monitorState.monitors.length === 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className="monitors" gap={theme.gap.large}>
|
<Stack className="monitors" pt={theme.gap.xl} gap={theme.gap.large}>
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<SkeletonLayout />
|
<SkeletonLayout />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ const CreatePageSpeed = () => {
|
|||||||
onClick={() => navigate("/pagespeed")}
|
onClick={() => navigate("/pagespeed")}
|
||||||
sx={{
|
sx={{
|
||||||
backgroundColor: theme.palette.otherColors.fillGray,
|
backgroundColor: theme.palette.otherColors.fillGray,
|
||||||
mb: theme.gap.large,
|
mb: theme.gap.medium,
|
||||||
px: theme.gap.ml,
|
px: theme.gap.ml,
|
||||||
"& svg.MuiSvgIcon-root": {
|
"& svg.MuiSvgIcon-root": {
|
||||||
mr: theme.gap.small,
|
mr: theme.gap.small,
|
||||||
@@ -122,8 +122,6 @@ const CreatePageSpeed = () => {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
gap: theme.gap.large,
|
gap: theme.gap.large,
|
||||||
// TODO
|
|
||||||
maxWidth: "1000px",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography component="h1">Create a page speed monitor</Typography>
|
<Typography component="h1">Create a page speed monitor</Typography>
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ const PageSpeedDetails = () => {
|
|||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
justifyContent="space-between"
|
justifyContent="space-between"
|
||||||
gap={theme.gap.xl}
|
gap={theme.gap.large}
|
||||||
flexWrap="wrap"
|
flexWrap="wrap"
|
||||||
>
|
>
|
||||||
<StatBox
|
<StatBox
|
||||||
@@ -409,7 +409,7 @@ const PageSpeedDetails = () => {
|
|||||||
<PageSpeedLineChart pageSpeedChecks={monitor?.checks?.reverse()} />
|
<PageSpeedLineChart pageSpeedChecks={monitor?.checks?.reverse()} />
|
||||||
</Box>
|
</Box>
|
||||||
<Typography component="h2">Performance report</Typography>
|
<Typography component="h2">Performance report</Typography>
|
||||||
<Stack direction="row" alignItems="center" overflow="hidden">
|
<Stack direction="row" alignItems="center" overflow="hidden" flex={1}>
|
||||||
<Stack
|
<Stack
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
textAlign="center"
|
textAlign="center"
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ const PageSpeed = () => {
|
|||||||
let isActuallyLoading = isLoading && monitors.length === 0;
|
let isActuallyLoading = isLoading && monitors.length === 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box className="page-speed">
|
<Box className="page-speed" pt={theme.gap.xl}>
|
||||||
{isActuallyLoading ? (
|
{isActuallyLoading ? (
|
||||||
<SkeletonLayout />
|
<SkeletonLayout />
|
||||||
) : monitors?.length !== 0 ? (
|
) : monitors?.length !== 0 ? (
|
||||||
|
|||||||
Reference in new issue
Block a user