1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed appearance for profile sidebar

This commit is contained in:
Fedor Katurov 2022-03-29 15:39:29 +07:00
parent 42c9fed92c
commit 16d12f92da
11 changed files with 96 additions and 10 deletions

View file

@ -0,0 +1,23 @@
import React, { VFC } from 'react';
import { useStackContext } from '~/components/sidebar/SidebarStack';
import { SidebarStackCard } from '~/components/sidebar/SidebarStackCard';
import { SettingsNotes } from '~/containers/settings/SettingsNotes';
import styles from './styles.module.scss';
interface ProfileSidebarNotesProps {}
const ProfileSidebarNotes: VFC<ProfileSidebarNotesProps> = () => {
const { closeAllTabs } = useStackContext();
return (
<SidebarStackCard width={800} headerFeature="back" title="Заметки" onBackPress={closeAllTabs}>
<div className={styles.scroller}>
<SettingsNotes />
</div>
</SidebarStackCard>
);
};
export { ProfileSidebarNotes };

View file

@ -0,0 +1,7 @@
@import "src/styles/variables";
.scroller {
flex: 1;
overflow: auto;
padding: $gap;
}