feat: fix select language box overlay (#1289)

* fix: select language box overlay

* fix: select language box position

* fix: select language box position

* fix: select language box position
This commit is contained in:
Chell
2022-11-13 03:52:22 +01:00
committed by GitHub
parent f818200c95
commit d542208eb8
3 changed files with 4 additions and 4 deletions

View File

@ -784,7 +784,6 @@ class LoginPage extends React.Component {
<div className="login-content" style={{margin: this.parseOffset(application.formOffset)}}>
{Setting.inIframe() ? null : <div dangerouslySetInnerHTML={{__html: application.formCss}} />}
<div className="login-panel">
<SelectLanguageBox id="language-box-corner" style={{top: "50px"}} />
<div className="side-image" style={{display: application.formOffset !== 4 ? "none" : null}}>
<div dangerouslySetInnerHTML={{__html: application.formSideHtml}} />
</div>
@ -800,6 +799,7 @@ class LoginPage extends React.Component {
{/* {*/}
{/* this.state.clientId !== null ? "Redirect" : null*/}
{/* }*/}
<SelectLanguageBox id="language-box-corner" style={{top: "55px", right: "5px", position: "absolute"}} />
{
this.renderSignedInBox()
}