mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 21:27:20 +01:00
Fixed profile button.
This commit is contained in:
parent
6c4a297697
commit
63bfad4d9c
4 changed files with 9 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue