mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-31 02:26:50 +10:00
Wrap terms to set width and top padding
This commit is contained in:
parent
dcaa41c50c
commit
b5157abc45
3 changed files with 21 additions and 5 deletions
|
|
@ -50,6 +50,18 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Terms of Service modal*/
|
||||||
|
|
||||||
|
.termsWrapper {
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 40px;
|
||||||
|
|
||||||
|
@media (--viewportMedium) {
|
||||||
|
width: 571px;
|
||||||
|
padding-top: 11px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* ================ Hide Top bar in screens smaller than 768px ================ */
|
/* ================ Hide Top bar in screens smaller than 768px ================ */
|
||||||
|
|
||||||
.hideOnMobile {
|
.hideOnMobile {
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,9 @@ export class AuthenticationPageComponent extends Component {
|
||||||
onClose={() => this.setState({ tosModalOpen: false })}
|
onClose={() => this.setState({ tosModalOpen: false })}
|
||||||
onManageDisableScrolling={onManageDisableScrolling}
|
onManageDisableScrolling={onManageDisableScrolling}
|
||||||
>
|
>
|
||||||
<TermsOfService />
|
<div className={css.termsWrapper}>
|
||||||
|
<TermsOfService />
|
||||||
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
</LayoutWrapperMain>
|
</LayoutWrapperMain>
|
||||||
<LayoutWrapperFooter>
|
<LayoutWrapperFooter>
|
||||||
|
|
|
||||||
|
|
@ -88,10 +88,12 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
||||||
onClose={[Function]}
|
onClose={[Function]}
|
||||||
onManageDisableScrolling={[Function]}
|
onManageDisableScrolling={[Function]}
|
||||||
>
|
>
|
||||||
<TermsOfService
|
<div>
|
||||||
className={null}
|
<TermsOfService
|
||||||
rootClassName={null}
|
className={null}
|
||||||
/>
|
rootClassName={null}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</InjectIntl(ModalComponent)>
|
</InjectIntl(ModalComponent)>
|
||||||
</LayoutWrapperMain>
|
</LayoutWrapperMain>
|
||||||
<LayoutWrapperFooter
|
<LayoutWrapperFooter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue