mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 03:43:28 +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;
|
||||
}
|
||||
|
||||
/* 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 ================ */
|
||||
|
||||
.hideOnMobile {
|
||||
|
|
|
|||
|
|
@ -247,7 +247,9 @@ export class AuthenticationPageComponent extends Component {
|
|||
onClose={() => this.setState({ tosModalOpen: false })}
|
||||
onManageDisableScrolling={onManageDisableScrolling}
|
||||
>
|
||||
<TermsOfService />
|
||||
<div className={css.termsWrapper}>
|
||||
<TermsOfService />
|
||||
</div>
|
||||
</Modal>
|
||||
</LayoutWrapperMain>
|
||||
<LayoutWrapperFooter>
|
||||
|
|
|
|||
|
|
@ -88,10 +88,12 @@ exports[`AuthenticationPageComponent matches snapshot 1`] = `
|
|||
onClose={[Function]}
|
||||
onManageDisableScrolling={[Function]}
|
||||
>
|
||||
<TermsOfService
|
||||
className={null}
|
||||
rootClassName={null}
|
||||
/>
|
||||
<div>
|
||||
<TermsOfService
|
||||
className={null}
|
||||
rootClassName={null}
|
||||
/>
|
||||
</div>
|
||||
</InjectIntl(ModalComponent)>
|
||||
</LayoutWrapperMain>
|
||||
<LayoutWrapperFooter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue