REFACTOR: added sticky behaviour to the save button at the end

This commit is contained in:
Thirukumaran-T
2025-05-24 18:33:05 +05:30
parent 429d68859c
commit 76d69005aa

View File

@@ -189,6 +189,20 @@ const Settings = () => {
<Stack
direction="row"
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
loading={isSaving || isDeletingMonitorStats || isSettingsLoading}