Skip to content

Commit

Permalink
Merge pull request #9129 from Expensify/jules-fixMinHeightRegression
Browse files Browse the repository at this point in the history
Fix min hight constant typo
  • Loading branch information
amyevans authored May 23, 2022
2 parents 4aadc67 + 92ea2d9 commit a0c8daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/signin/SignInPageLayout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const SignInPageLayout = (props) => {
return content;
}

if (props.isMediumScreenWidth && props.windowHeight >= variables.minHeigthToShowGraphics) {
if (props.isMediumScreenWidth && props.windowHeight >= variables.minHeightToShowGraphics) {
return (
<View style={[styles.dFlex, styles.signInPageInner, styles.flexColumnReverse, styles.justifyContentBetween]}>
{graphicLayout}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ export default {
tooltipzIndex: 10050,
gutterWidth: 16,
popoverMenuShadow: '0px 4px 12px 0px rgba(0, 0, 0, 0.06)',
minHeightToShowGraphics: 854, // below this height UI was broken on login form layout as there isn't enough height to show forma and graphics.
minHeightToShowGraphics: 854, // Login form layout breaks below this height due to insufficient space to show the form and graphics
};

0 comments on commit a0c8daf

Please sign in to comment.