Skip to content

Commit

Permalink
Added padding on mobile view to Privacy Policy and Terms & Conditions…
Browse files Browse the repository at this point in the history
… pages
  • Loading branch information
Minipoloalex committed Jan 22, 2024
1 parent 33eb94b commit 711843d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Apply/Company/CompanyApplicationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const CompanyApplicationForm = ({ submitCompanyApplication, submittingApplicatio
}, [reset, resetCompanyApplicationSubmissionError]);


const classes = useCompanyApplicationStyles(useMobile())();

const isMobile = useMobile();

const classes = useCompanyApplicationStyles(isMobile)();

return (
<React.Fragment>
<form
Expand Down
2 changes: 1 addition & 1 deletion src/pages/PrivacyPolicyPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const useStyles = makeStyles((theme) => ({
color: "rgba(0, 0, 0, 0.54)",
},
content: ({ isMobile }) => ({
padding: isMobile ? theme.spacing(0, 1) : theme.spacing(10),
padding: isMobile ? theme.spacing(2, 3) : theme.spacing(10),
}),
}));

Expand Down
2 changes: 1 addition & 1 deletion src/pages/TermsAndConditionsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const useStyles = makeStyles((theme) => ({
color: "rgba(0, 0, 0, 0.54)",
},
content: ({ isMobile }) => ({
padding: isMobile ? theme.spacing(0, 1) : theme.spacing(10),
padding: isMobile ? theme.spacing(2, 3) : theme.spacing(10),
}),
}));

Expand Down

0 comments on commit 711843d

Please sign in to comment.