Added notifications to server validation and small styling changes

This commit is contained in:
Daniel Cojocea
2024-08-01 13:22:39 -04:00
parent 6e7c50a615
commit 110e31fb7d
6 changed files with 8 additions and 3 deletions

View File

@@ -77,6 +77,7 @@ export const updateUptimeMonitor = createAsyncThunk(
name: monitor.name,
description: monitor.description,
interval: monitor.interval,
notifications: monitor.notifications
};
const res = await axiosInstance.post(
`/monitors/edit/${monitor._id}`,

View File

@@ -31,6 +31,9 @@
.account .MuiButtonGroup-root button {
border-color: var(--env-var-color-16);
}
.account button{
height: 34px;
}
.account [class$="-form"] {
width: inherit;
}

View File

@@ -103,7 +103,7 @@
/* ///// */
.login-page
.MuiStack-root:not(:has(> .MuiButtonBase-root))
span:not(.MuiTypography-root) {
span:not(.MuiTypography-root):not(.field-required) {
color: var(--env-var-color-3);
cursor: pointer;
font-weight: 600;

View File

@@ -375,7 +375,7 @@ const Configure = () => {
<Button
level="primary"
label="Save"
sx={{ px: theme.gap.ml }}
sx={{ px: theme.gap.large }}
onClick={handleSubmit}
/>
</Stack>

View File

@@ -110,7 +110,7 @@ const Settings = () => {
</Box>
</Stack>
<Stack direction="row" justifyContent="flex-end">
<Button level="primary" label="Save" />
<Button level="primary" label="Save" sx={{ px: theme.gap.large }} />
</Stack>
</form>
</Box>