mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
fix: UI bug after switching to English (#570)
This commit is contained in:
@ -553,22 +553,22 @@ class App extends Component {
|
|||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
<Menu
|
<div>
|
||||||
// theme="dark"
|
<Menu
|
||||||
mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"}
|
// theme="dark"
|
||||||
selectedKeys={[`${this.state.selectedMenuKey}`]}
|
mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"}
|
||||||
style={{lineHeight: '64px', width: '100%', position: 'absolute'}}
|
selectedKeys={[`${this.state.selectedMenuKey}`]}
|
||||||
>
|
style={{lineHeight: '64px', width: '80%', position: 'absolute'}}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
this.renderMenu()
|
||||||
|
}
|
||||||
|
</Menu>
|
||||||
{
|
{
|
||||||
this.renderMenu()
|
this.renderAccount()
|
||||||
}
|
}
|
||||||
<div style = {{float: 'right'}}>
|
<SelectLanguageBox/>
|
||||||
{
|
</div>
|
||||||
this.renderAccount()
|
|
||||||
}
|
|
||||||
<SelectLanguageBox/>
|
|
||||||
</div>
|
|
||||||
</Menu>
|
|
||||||
</Header>
|
</Header>
|
||||||
<Layout style={{backgroundColor: "#f5f5f5", alignItems: 'stretch'}}>
|
<Layout style={{backgroundColor: "#f5f5f5", alignItems: 'stretch'}}>
|
||||||
<Card className="content-warp-card">
|
<Card className="content-warp-card">
|
||||||
|
Reference in New Issue
Block a user