diff --git a/src/app/main-api-handler.ts b/src/app/main-api-handler.ts index a4e14db08..17ab4ac5f 100644 --- a/src/app/main-api-handler.ts +++ b/src/app/main-api-handler.ts @@ -710,5 +710,10 @@ const loadPodUrl = (proxyLogin = false) => { ); proxyDetails.retries += 1; } + logger.error( + 'main-api-handler: browser login error. Details: ', + error.type, + error.code, + ); }); }; diff --git a/src/renderer/components/welcome.tsx b/src/renderer/components/welcome.tsx index 7fd842259..9bc63a762 100644 --- a/src/renderer/components/welcome.tsx +++ b/src/renderer/components/welcome.tsx @@ -56,9 +56,6 @@ export default class Welcome extends React.Component<{}, IState> { {i18n.t('Welcome back!', WELCOME_NAMESPACE)()} - - {i18n.t('Please login to continue', WELCOME_NAMESPACE)()} - )} {!isPodConfigured && ( @@ -276,7 +273,7 @@ export default class Welcome extends React.Component<{}, IState> { className={loginButtonClasses} disabled={(!isPodConfigured && !urlValid) || isLoading} onClick={this.eventHandlers.onLogin} - style={isPodConfigured ? { marginTop: '40px' } : {}} + style={isPodConfigured ? { marginTop: '24px' } : {}} > {isLoading && (
diff --git a/src/renderer/styles/basic-auth.less b/src/renderer/styles/basic-auth.less index addf36d1c..0fb13b0e4 100644 --- a/src/renderer/styles/basic-auth.less +++ b/src/renderer/styles/basic-auth.less @@ -65,6 +65,7 @@ table { display: flex; flex: 1; justify-content: flex-end; + max-width: 235px; } } } diff --git a/src/renderer/styles/welcome.less b/src/renderer/styles/welcome.less index d134b6fca..df65f6131 100644 --- a/src/renderer/styles/welcome.less +++ b/src/renderer/styles/welcome.less @@ -286,14 +286,9 @@ body { } } &-welcome-back { - font-size: 14px; - color: @graphite-05; - margin-top: 40px; - } - &-login-label { font-size: 18px; color: @graphite-05; - margin-top: 13px; + margin-top: 40px; } } @@ -380,12 +375,14 @@ body { } .switch { - margin: auto; + margin: auto 0; margin-right: 8px; position: relative; display: inline-block; - width: 43px; + width: 38px; height: auto; + flex-grow: 0; + flex-shrink: 0; } /* Hide default HTML checkbox */