Stop event propagation
This commit is contained in:
1 parent
3c14feecd0
commit
14d2bbd4a2
3 files changed
+21
-9
No files matched your search
@@ -1,13 +1,11 @@
|
|||||||
.create-monitor h1.MuiTypography-root {
|
.create-monitor h1.MuiTypography-root {
|
||||||
font-size: var(--env-var-font-size-large-plus);
|
font-size: var(--env-var-font-size-large-plus);
|
||||||
color: var(--env-var-color-1);
|
color: var(--env-var-color-1);
|
||||||
}
|
font-weight: 500;
|
||||||
.create-monitor h1.MuiTypography-root,
|
|
||||||
.create-monitor h2.MuiTypography-root {
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
.create-monitor h2.MuiTypography-root {
|
.create-monitor h2.MuiTypography-root {
|
||||||
font-size: var(--env-var-font-size-large);
|
font-size: var(--env-var-font-size-large);
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.create-monitor p.MuiTypography-root,
|
.create-monitor p.MuiTypography-root,
|
||||||
.create-monitor button.MuiButtonBase-root {
|
.create-monitor button.MuiButtonBase-root {
|
||||||
|
|||||||
@@ -157,9 +157,20 @@ const CreateMonitor = () => {
|
|||||||
noValidate
|
noValidate
|
||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
gap={theme.gap.large}
|
gap={theme.gap.large}
|
||||||
mt={theme.gap.mlplus}
|
mt={theme.gap.medium}
|
||||||
>
|
>
|
||||||
<Typography component="h1">Create new monitor</Typography>
|
<Typography component="h1">
|
||||||
|
<Typography
|
||||||
|
component="span"
|
||||||
|
fontSize="inherit"
|
||||||
|
color={theme.palette.otherColors.bluishGray}
|
||||||
|
>
|
||||||
|
Create your{" "}
|
||||||
|
</Typography>
|
||||||
|
<Typography component="span" fontSize="inherit" fontWeight="inherit">
|
||||||
|
monitor
|
||||||
|
</Typography>
|
||||||
|
</Typography>
|
||||||
<Stack className="config-box">
|
<Stack className="config-box">
|
||||||
<Box>
|
<Box>
|
||||||
<Typography component="h2">General settings</Typography>
|
<Typography component="h2">General settings</Typography>
|
||||||
@@ -389,9 +400,9 @@ const CreateMonitor = () => {
|
|||||||
/> */}
|
/> */}
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<Stack direction="row" justifyContent="flex-end">
|
||||||
<Button
|
<Button
|
||||||
id="create-new-monitor-btn"
|
id="create-monitor-btn"
|
||||||
level="primary"
|
level="primary"
|
||||||
label="Create new monitor"
|
label="Create monitor"
|
||||||
onClick={handleCreateMonitor}
|
onClick={handleCreateMonitor}
|
||||||
disabled={Object.keys(errors).length !== 0 && true}
|
disabled={Object.keys(errors).length !== 0 && true}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -143,7 +143,10 @@ const ActionsMenu = ({ monitor }) => {
|
|||||||
aria-labelledby="modal-delete-monitor"
|
aria-labelledby="modal-delete-monitor"
|
||||||
aria-describedby="delete-monitor-confirmation"
|
aria-describedby="delete-monitor-confirmation"
|
||||||
open={isOpen}
|
open={isOpen}
|
||||||
onClose={() => setIsOpen(false)}
|
onClose={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
setIsOpen(false);
|
||||||
|
}}
|
||||||
disablePortal
|
disablePortal
|
||||||
>
|
>
|
||||||
<Stack
|
<Stack
|
||||||
|
|||||||
Reference in new issue
Block a user