From 254a24d6e637e576ebd1ab47eae3d5e34cde71b4 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Fri, 3 Jan 2025 14:55:59 +0100 Subject: [PATCH] fix: save context button spacing --- frontend/src/component/context/ContextForm/ContextForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/context/ContextForm/ContextForm.tsx b/frontend/src/component/context/ContextForm/ContextForm.tsx index 6342e29ed948..a72f510d5e69 100644 --- a/frontend/src/component/context/ContextForm/ContextForm.tsx +++ b/frontend/src/component/context/ContextForm/ContextForm.tsx @@ -69,11 +69,11 @@ const StyledSwitchContainer = styled('div')({ marginLeft: '-9px', }); -const StyledButtonContainer = styled('div')({ - marginTop: 'auto', +const StyledButtonContainer = styled('div')(({ theme }) => ({ + marginTop: theme.spacing(3), display: 'flex', justifyContent: 'flex-end', -}); +})); const StyledCancelButton = styled(Button)(({ theme }) => ({ marginLeft: theme.spacing(3),