fix: The top-right logout button sometimes disappears for small screen size (#544)

This commit is contained in:
Gucheng Wang
2022-03-08 21:14:04 +08:00
parent 3602d9b9a7
commit 380cdc5f7e
3 changed files with 10 additions and 8 deletions

View File

@ -555,7 +555,7 @@ class App extends Component {
// theme="dark"
mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"}
selectedKeys={[`${this.state.selectedMenuKey}`]}
style={{ lineHeight: '64px'}}
style={{lineHeight: '64px', width: '100%', position: 'absolute'}}
>
{
this.renderMenu()