mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added settings tab to profile
This commit is contained in:
parent
d9a1b5cf13
commit
e28fdd2c05
10 changed files with 103 additions and 18 deletions
|
@ -21,11 +21,9 @@ const SidebarWrapper: FC<IProps> = ({ children, onClose }) => {
|
|||
}, [ref.current]);
|
||||
|
||||
return createPortal(
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.wrapper} ref={ref}>
|
||||
<div className={styles.clicker} onClick={onClose} />
|
||||
<div className={styles.content} ref={ref}>
|
||||
{children}
|
||||
</div>
|
||||
{children}
|
||||
</div>,
|
||||
document.body
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue