Skip to content

Commit

Permalink
Correção do layout da página da Política de Privacidade
Browse files Browse the repository at this point in the history
  • Loading branch information
catarina-pinto committed Feb 4, 2024
1 parent 09f24e7 commit ba835d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/pages/PrivacyPolicy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,22 @@ function PrivacyPolicy({ translation }) {
}
];

function WebOrMobileClassName() {
var className = "";

if (window.innerWidth <= 500) {
className = "container-mobile";
}

return className;
}

return (
<PageLayout
title={translation('PrivacyPolicyPage-PageName')}
descriptionParagraphs={[translation('PrivacyPolicyPage-Description')]}
breadcrumbsData={breadcrumbs}>
<Container fluid="md">
<Container fluid="md" className={WebOrMobileClassName()}>
<Row>
<p>{translation('PrivacyPolicyPage-Text_p1')}</p>
<p>{translation('PrivacyPolicyPage-Text_p2')}</p>
Expand Down
4 changes: 4 additions & 0 deletions src/pages/PrivacyPolicy/privacy-policy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ h3,
h5 {
margin-top: 30px !important;
}

.container-mobile {
margin-top: 15px;
}

0 comments on commit ba835d3

Please sign in to comment.