mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
ingore dropdown changes
This commit is contained in:
parent
0fd35fd1f8
commit
07b1bdd552
@ -226,7 +226,7 @@ export default class Sidebar extends React.Component {
|
||||
app.eventBus.off(event, handler)
|
||||
}
|
||||
|
||||
delete app.layout.sidebar
|
||||
//delete app.layout.sidebar
|
||||
}
|
||||
|
||||
handleClick = (e) => {
|
||||
@ -398,12 +398,13 @@ export default class Sidebar extends React.Component {
|
||||
autoFocus
|
||||
placement="top"
|
||||
trigger={["click"]}
|
||||
onOpenChange={this.onDropdownOpenChange}
|
||||
//onOpenChange={this.onDropdownOpenChange}
|
||||
>
|
||||
<Menu.Item
|
||||
key="account"
|
||||
className="user_avatar"
|
||||
ignoreClick
|
||||
onDoubleClick={onClickHandlers.account}
|
||||
>
|
||||
<Avatar shape="square" src={app.userData?.avatar} />
|
||||
</Menu.Item>
|
||||
|
@ -1,5 +1,27 @@
|
||||
@import "theme/vars.less";
|
||||
|
||||
.siderender_wrapper {
|
||||
//position: absolute;
|
||||
position: relative;
|
||||
|
||||
z-index: 100;
|
||||
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
|
||||
width: fit-content;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
align-items: center;
|
||||
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
.app_sidebar_wrapper {
|
||||
position: sticky;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user