mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +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() {
|
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
|
const { loading, UUID, invalid, RenderValue } = this.state
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
@ -185,6 +193,13 @@ class UserProfile extends React.PureComponent {
|
|||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</antd.Tooltip>
|
</antd.Tooltip>
|
||||||
|
|
||||||
|
{ ycore.IsThisUser.same(UUID)?
|
||||||
|
<antd.Dropdown overlay={moreMenu}>
|
||||||
|
<Icons.MoreOutlined className={styles.user_more_menu} />
|
||||||
|
</antd.Dropdown>
|
||||||
|
: null }
|
||||||
|
|
||||||
</h1>
|
</h1>
|
||||||
<span
|
<span
|
||||||
style={{
|
style={{
|
||||||
|
@ -121,6 +121,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.user_more_menu{
|
||||||
|
float: right;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: @screen-md) {
|
@media screen and (max-width: @screen-md) {
|
||||||
.extraContent {
|
.extraContent {
|
||||||
@ -158,3 +163,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user