From 5c1d1bda65adbd0c1fe9d61af84a4cf9a891b730 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Mon, 23 May 2022 16:41:20 +0100 Subject: [PATCH 1/2] fix constant typo --- src/pages/signin/SignInPageLayout/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/signin/SignInPageLayout/index.js b/src/pages/signin/SignInPageLayout/index.js index 995b0c807548..523b22fa77ec 100644 --- a/src/pages/signin/SignInPageLayout/index.js +++ b/src/pages/signin/SignInPageLayout/index.js @@ -62,7 +62,7 @@ const SignInPageLayout = (props) => { return content; } - if (props.isMediumScreenWidth && props.windowHeight >= variables.minHeigthToShowGraphics) { + if (props.isMediumScreenWidth && props.windowHeight >= variables.minHeightToShowGraphics) { return ( {graphicLayout} From 9e73a154da46a818823ee23110221e5797f151b8 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Mon, 23 May 2022 17:30:50 +0100 Subject: [PATCH 2/2] improve const comment --- src/styles/variables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/variables.js b/src/styles/variables.js index 02a4fe2e80b7..7259a678443f 100644 --- a/src/styles/variables.js +++ b/src/styles/variables.js @@ -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 };