diff --git a/.changeset/spicy-windows-kneel.md b/.changeset/spicy-windows-kneel.md new file mode 100644 index 00000000..d5eaa908 --- /dev/null +++ b/.changeset/spicy-windows-kneel.md @@ -0,0 +1,5 @@ +--- +"nextjs-website": patch +--- + +Prefooter - change store buttons direction diff --git a/apps/nextjs-website/react-components/components/PreFooter/PreFooter.tsx b/apps/nextjs-website/react-components/components/PreFooter/PreFooter.tsx index bf1ab331..950b5f34 100644 --- a/apps/nextjs-website/react-components/components/PreFooter/PreFooter.tsx +++ b/apps/nextjs-website/react-components/components/PreFooter/PreFooter.tsx @@ -1,6 +1,5 @@ import { Box, Stack, Typography } from '@mui/material'; import Button from '@mui/material/Button'; -import Image from 'next/image'; import { BackgroundColor } from '../common/Common.helpers'; import { PreFooterProps } from '@react-components/types/PreFooter/PreFooter'; import { useTheme, useMediaQuery } from '@mui/material'; @@ -111,30 +110,23 @@ const PreFooter = (props: PreFooterProps) => { justifyContent='center' alignItems='center' spacing={2} - direction={ - isSmallScreen || layout === 'center' ? 'column' : 'row' - } - sx={{ - marginLeft: isSmallScreen || layout === 'center' ? 0 : 2, - }} + direction={isSmallScreen ? 'column' : 'row'} + marginLeft={0} > {storeButtons.hrefGoogle && ( )} @@ -142,19 +134,16 @@ const PreFooter = (props: PreFooterProps) => { )}