mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16: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
|
||||
);
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
}
|
||||
|
||||
.content {
|
||||
flex: 0 1 33vw;
|
||||
width: 33vw;
|
||||
min-width: 480px;
|
||||
max-width: 100vw;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue