mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-06 21:59:30 +00:00
UserMenu adapted to the new Popup api
This commit is contained in:
parent
d99a1aca48
commit
cb4f314e3f
2 changed files with 3 additions and 3 deletions
|
|
@ -26,14 +26,14 @@ const UserMenu = ({ className, email, avatar, logout }) => {
|
|||
}, []);
|
||||
|
||||
return (
|
||||
<Popup modalContainerClassName={styles['user-menu-modal-container']}>
|
||||
<Popup>
|
||||
<Popup.Label>
|
||||
<Input className={classnames(className, styles['user-menu-button'])} tabIndex={-1} type={'button'}>
|
||||
<Icon className={classnames(styles['icon'], styles['user-icon'])} icon={'ic_user'} />
|
||||
<Icon className={classnames(styles['icon'], styles['arrow-icon'])} icon={'ic_arrow_down'} />
|
||||
</Input>
|
||||
</Popup.Label>
|
||||
<Popup.Menu>
|
||||
<Popup.Menu className={styles['user-menu-container']}>
|
||||
<div className={styles['user-menu']}>
|
||||
<div className={styles['user-info']}>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.user-menu-modal-container {
|
||||
.user-menu-container {
|
||||
--box-shadow: -0.6em .6em .5em -0.1em var(--color-backgrounddark40);
|
||||
|
||||
.user-menu {
|
||||
|
|
|
|||
Loading…
Reference in a new issue