mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: fix CSS issue that login error pages are not centered (#1371)
This commit is contained in:
@ -648,7 +648,7 @@ class App extends Component {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Layout id="parent-area">
|
<Layout id="parent-area">
|
||||||
<Content style={{display: "flex"}}>
|
<Content style={{display: "flex", justifyContent: "center"}}>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/signup" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} />)} />
|
<Route exact path="/signup" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} />)} />
|
||||||
<Route exact path="/signup/:applicationName" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} onUpdateAccount={(account) => {this.onUpdateAccount(account);}} />)} />
|
<Route exact path="/signup/:applicationName" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} onUpdateAccount={(account) => {this.onUpdateAccount(account);}} />)} />
|
||||||
|
Reference in New Issue
Block a user