1
0
Fork 0
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:
Fedor Katurov 2020-11-17 18:00:03 +07:00
parent d9a1b5cf13
commit e28fdd2c05
10 changed files with 103 additions and 18 deletions

View file

@ -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
);

View file

@ -24,10 +24,6 @@
}
.content {
flex: 0 1 33vw;
width: 33vw;
min-width: 480px;
max-width: 100vw;
height: 100%;
overflow: auto;
display: flex;