Skip to content

Commit

Permalink
SDA-4145 Proxy auth dialog css fix (finos#1838)
Browse files Browse the repository at this point in the history
* Proxy auth dialog css fix

* Browser login logs
  • Loading branch information
sbenmoussati authored and NguyenTranHoangSym committed Aug 15, 2023
1 parent a94a32f commit a5bef34
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
5 changes: 5 additions & 0 deletions src/app/main-api-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,5 +710,10 @@ const loadPodUrl = (proxyLogin = false) => {
);
proxyDetails.retries += 1;
}
logger.error(
'main-api-handler: browser login error. Details: ',
error.type,
error.code,
);
});
};
5 changes: 1 addition & 4 deletions src/renderer/components/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ export default class Welcome extends React.Component<{}, IState> {
<span className='Welcome-welcome-back'>
{i18n.t('Welcome back!', WELCOME_NAMESPACE)()}
</span>
<span className='Welcome-login-label'>
{i18n.t('Please login to continue', WELCOME_NAMESPACE)()}
</span>
</React.Fragment>
)}
{!isPodConfigured && (
Expand Down Expand Up @@ -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 && (
<div className='splash-screen--spinner-container'>
Expand Down
1 change: 1 addition & 0 deletions src/renderer/styles/basic-auth.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ table {
display: flex;
flex: 1;
justify-content: flex-end;
max-width: 235px;
}
}
}
Expand Down
13 changes: 5 additions & 8 deletions src/renderer/styles/welcome.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit a5bef34

Please sign in to comment.