mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
fix: language widget poisition without border css (#1188)
This commit is contained in:
parent
a7324f1da1
commit
3dc01ec85d
@ -703,7 +703,7 @@ class LoginPage extends React.Component {
|
|||||||
<Col span={8} offset={application.formOffset === 0 || Setting.inIframe() || Setting.isMobile() ? 8 : application.formOffset} style={{display: "flex", justifyContent: "center"}}>
|
<Col span={8} offset={application.formOffset === 0 || Setting.inIframe() || Setting.isMobile() ? 8 : application.formOffset} style={{display: "flex", justifyContent: "center"}}>
|
||||||
<div className="login-content">
|
<div className="login-content">
|
||||||
<div style={{marginTop: "80px", marginBottom: "50px", textAlign: "center", ...formStyle}}>
|
<div style={{marginTop: "80px", marginBottom: "50px", textAlign: "center", ...formStyle}}>
|
||||||
<SelectLanguageBox id="language-box-corner" style={{top: "80px", right: "5px"}} />
|
<SelectLanguageBox id="language-box-corner" style={{top: formStyle !== null ? "80px" : "45px", right: formStyle !== null ? "5px" : "-45px"}} />
|
||||||
<div>
|
<div>
|
||||||
{
|
{
|
||||||
Setting.renderHelmet(application)
|
Setting.renderHelmet(application)
|
||||||
|
@ -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"}} >
|
<Col span={8} offset={application.formOffset === 0 || Setting.inIframe() || Setting.isMobile() ? 8 : application.formOffset} style={{display: "flex", justifyContent: "center"}} >
|
||||||
<div className="login-content">
|
<div className="login-content">
|
||||||
<div style={{marginBottom: "10px", textAlign: "center", ...formStyle}}>
|
<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)
|
Setting.renderHelmet(application)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user