REFACTOR: added sticky behaviour to the save button at the end
This commit is contained in:
1 parent
429d68859c
commit
76d69005aa
1 file changed
+14
@@ -189,6 +189,20 @@ const Settings = () => {
|
|||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
justifyContent="flex-end"
|
justifyContent="flex-end"
|
||||||
|
sx={{
|
||||||
|
position: "sticky",
|
||||||
|
bottom: 0,
|
||||||
|
boxShadow: theme.shape.boxShadow,
|
||||||
|
zIndex: 1000,
|
||||||
|
mt : 3,
|
||||||
|
backgroundColor: theme.palette.primary.main,
|
||||||
|
display: "flex",
|
||||||
|
justifyContent: "flex-end",
|
||||||
|
pb: theme.spacing(5),
|
||||||
|
pr: theme.spacing(15),
|
||||||
|
pl: theme.spacing(5),
|
||||||
|
pt: theme.spacing(5),
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
loading={isSaving || isDeletingMonitorStats || isSettingsLoading}
|
loading={isSaving || isDeletingMonitorStats || isSettingsLoading}
|
||||||
|
|||||||
Reference in new issue
Block a user