fix: language widget poisition without border css (#1188)

This commit is contained in:
Yaodong Yu
2022-10-06 17:26:12 +08:00
committed by GitHub
parent a7324f1da1
commit 3dc01ec85d
2 changed files with 2 additions and 2 deletions

View File

@ -625,7 +625,7 @@ class SignupPage extends React.Component {
<Col span={8} offset={application.formOffset === 0 || Setting.inIframe() || Setting.isMobile() ? 8 : application.formOffset} style={{display: "flex", justifyContent: "center"}} >
<div className="login-content">
<div style={{marginBottom: "10px", textAlign: "center", ...formStyle}}>
<SelectLanguageBox id="language-box-corner" style={{top: "3px", right: "5px"}} />
<SelectLanguageBox id="language-box-corner" style={{top: formStyle !== null ? "3px" : "-20px", right: formStyle !== null ? "5px" : "-45px"}} />
{
Setting.renderHelmet(application)
}