From f3252b28ae5d69bbfb35c40aef8f9be8652d821b Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Fri, 20 Oct 2017 18:16:46 +0300 Subject: [PATCH 01/18] z-index handling was missing from LayoutWrapperTopbar --- src/components/LayoutWrapperTopbar/LayoutWrapperTopbar.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/LayoutWrapperTopbar/LayoutWrapperTopbar.css b/src/components/LayoutWrapperTopbar/LayoutWrapperTopbar.css index 58c12a68..e150fece 100644 --- a/src/components/LayoutWrapperTopbar/LayoutWrapperTopbar.css +++ b/src/components/LayoutWrapperTopbar/LayoutWrapperTopbar.css @@ -1,4 +1,7 @@ +@import '../../marketplace.css'; + .root { width: 100%; position: relative; + z-index: var(--zIndexTopbar); } From c48f16d81d84d9b3dda3501ceb65b3f79b5bd2f9 Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Fri, 20 Oct 2017 18:17:43 +0300 Subject: [PATCH 02/18] Footer to AuthenticationPage --- .../AuthenticationPage/AuthenticationPage.css | 8 ++ .../AuthenticationPage/AuthenticationPage.js | 22 ++- .../AuthenticationPage.test.js.snap | 131 ++++++++++-------- 3 files changed, 102 insertions(+), 59 deletions(-) diff --git a/src/containers/AuthenticationPage/AuthenticationPage.css b/src/containers/AuthenticationPage/AuthenticationPage.css index 5f535fbe..39e40c40 100644 --- a/src/containers/AuthenticationPage/AuthenticationPage.css +++ b/src/containers/AuthenticationPage/AuthenticationPage.css @@ -1,5 +1,13 @@ @import '../../marketplace.css'; +.layoutWrapperMain { + min-height: calc(100vh - var(--topbarHeight)); + + @media (--viewportMedium) { + min-height: calc(100vh - var(--topbarHeightDesktop)); + } +} + .root { @apply --marketplaceModalRootStyles; } diff --git a/src/containers/AuthenticationPage/AuthenticationPage.js b/src/containers/AuthenticationPage/AuthenticationPage.js index 0ea25b87..cd97b4ee 100644 --- a/src/containers/AuthenticationPage/AuthenticationPage.js +++ b/src/containers/AuthenticationPage/AuthenticationPage.js @@ -20,6 +20,11 @@ import { IconEmailSent, InlineTextButton, IconClose, + LayoutSingleColumn, + LayoutWrapperTopbar, + LayoutWrapperMain, + LayoutWrapperFooter, + Footer, } from '../../components'; import { LoginForm, SignupForm, TopbarContainer } from '../../containers'; import { login, authenticationInProgress, signup } from '../../ducks/Auth.duck'; @@ -216,10 +221,19 @@ export const AuthenticationPageComponent = props => { name: schemaTitle, }} > - -
- {showEmailVerification ? emailVerificationContent : formContent} -
+ + + + + +
+ {showEmailVerification ? emailVerificationContent : formContent} +
+
+ +