Skip to content

Commit

Permalink
[#119] Fixes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
JanJaroszczak authored and MSzalowski committed Feb 26, 2024
1 parent 6c1a1a4 commit 42c194a
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const CenteredBoxBottomButtons = ({
size="extraLarge"
sx={{
px: 6,
width: isMobile ? "100%" : "auto",
}}
variant="outlined"
>
Expand All @@ -46,10 +45,7 @@ export const CenteredBoxBottomButtons = ({
isLoading={isLoading}
onClick={onActionButton}
sx={{
borderRadius: 50,
textTransform: "none",
px: 6,
width: isMobile ? "100%" : "auto",
height: 48,
fontSize: 16,
}}
Expand All @@ -63,13 +59,13 @@ export const CenteredBoxBottomButtons = ({
return (
<Box
display="flex"
flexDirection={isMobile ? "column" : "row"}
flexDirection={isMobile ? "column-reverse" : "row"}
justifyContent="space-around"
mt={6}
>
{isMobile ? renderActionButton : renderBackButton}
{renderBackButton}
<Box px={2} py={isMobile ? 1.5 : 0} />
{isMobile ? renderBackButton : renderActionButton}
{renderActionButton}
</Box>
);
};

0 comments on commit 42c194a

Please sign in to comment.