Fixed profile button.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
.menu {
|
||||
width: 200px;
|
||||
z-index: var(--z-index-popup);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--border-radius);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.item {
|
||||
|
||||
@@ -34,7 +34,7 @@ export function ProfileButton() {
|
||||
</Icon>
|
||||
</Button>
|
||||
<Popup position="bottom" alignment={dir === 'rtl' ? 'start' : 'end'}>
|
||||
<Menu variant="popup" onSelect={handleSelect} className={styles.menu}>
|
||||
<Menu onSelect={handleSelect} className={styles.menu}>
|
||||
<Item key="user" className={styles.item}>
|
||||
<Text>{user.username}</Text>
|
||||
</Item>
|
||||
|
||||
Reference in New Issue
Block a user