mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
feat: add language select box and background color change when hover
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
This commit is contained in:
@ -224,7 +224,7 @@ class App extends Component {
|
||||
);
|
||||
|
||||
return (
|
||||
<Dropdown key="200" overlay={menu} >
|
||||
<Dropdown key="200" overlay={menu} className="rightDropDown">
|
||||
<div className="ant-dropdown-link" style={{float: 'right', cursor: 'pointer'}}>
|
||||
{
|
||||
this.renderAvatar()
|
||||
@ -382,6 +382,7 @@ class App extends Component {
|
||||
{
|
||||
this.renderAccount()
|
||||
}
|
||||
<SelectLanguageBox/>
|
||||
</Menu>
|
||||
</Header>
|
||||
<Switch>
|
||||
@ -418,7 +419,6 @@ class App extends Component {
|
||||
textAlign: 'center',
|
||||
}
|
||||
}>
|
||||
<SelectLanguageBox/>
|
||||
Made with <span style={{color: 'rgb(255, 255, 255)'}}>❤️</span> by <a style={{fontWeight: "bold", color: "black"}} target="_blank" href="https://casbin.org" rel="noreferrer">Casbin</a>
|
||||
</Footer>
|
||||
)
|
||||
|
Reference in New Issue
Block a user