-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login form layout for ipad #8752
Changes from 3 commits
b59a9ef
615130c
c75689d
2bed163
3983fea
3f491f0
44d6972
306722a
ce25fc7
77487ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,8 @@ const SignInPageContent = props => ( | |
<LoginKeyboardAvoidingView | ||
behavior="position" | ||
contentContainerStyle={[ | ||
props.isSmallScreenWidth ? styles.signInPageNarrowContentMargin : styles.signInPageWideLeftContentMargin, | ||
props.isSmallScreenWidth && styles.signInPageNarrowContentMargin, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice catch! Let's refactor as below, props.isSmallScreenWidth ? styles.signInPageNarrowContentMargin : {}, |
||
!props.isMediumScreenWidth && styles.signInPageWideLeftContentMargin, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The comment I left for the line above also applied to this one |
||
styles.mb3, | ||
StyleUtils.getModalPaddingStyles({ | ||
shouldAddBottomSafeAreaPadding: true, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this, it doesn’t need to be committed!
You can pass
host
to thewebpack
by just adding--host 0.0.0.0
to theyarn web
command.