mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Co-authored-by: Zirius <walterka1mihalik@gmail.com>
Co-authored-by: kintxi850@gmail.com <kintxi850@gmail.com>
This commit is contained in:
parent
3ff2dd5689
commit
4601515f0c
@ -123,6 +123,14 @@ class UserProfile extends React.PureComponent {
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
const moreMenu = (
|
||||
<antd.Menu>
|
||||
<antd.Menu.Item>1st antd.Menu item</antd.Menu.Item>
|
||||
<antd.Menu.Item>2nd antd.Menu item</antd.Menu.Item>
|
||||
</antd.Menu>
|
||||
);
|
||||
|
||||
const { loading, UUID, invalid, RenderValue } = this.state
|
||||
return (
|
||||
<div>
|
||||
@ -185,6 +193,13 @@ class UserProfile extends React.PureComponent {
|
||||
/>
|
||||
) : null}
|
||||
</antd.Tooltip>
|
||||
|
||||
{ ycore.IsThisUser.same(UUID)?
|
||||
<antd.Dropdown overlay={moreMenu}>
|
||||
<Icons.MoreOutlined className={styles.user_more_menu} />
|
||||
</antd.Dropdown>
|
||||
: null }
|
||||
|
||||
</h1>
|
||||
<span
|
||||
style={{
|
||||
|
@ -121,6 +121,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.user_more_menu{
|
||||
float: right;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: @screen-md) {
|
||||
.extraContent {
|
||||
@ -158,3 +163,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user