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

fixed sidebar heights

This commit is contained in:
Fedor Katurov 2022-01-14 18:44:14 +07:00
parent 2e75e4f7c0
commit d4f57a97d8
4 changed files with 13 additions and 4 deletions

View file

@ -11,6 +11,7 @@ const ProfileSidebarSettings: FC<IProps> = () => (
<div className={styles.scroller}>
<ProfileSettings />
</div>
<div className={styles.buttons}>
<Filler />
<Button color="outline">Отмена</Button>

View file

@ -17,7 +17,6 @@
.buttons {
width: 100%;
padding: $gap;
box-shadow: $sidebar_border 0 -1px;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr auto auto;

View file

@ -23,7 +23,7 @@ const SidebarStackCard: FC<SidebarStackCardProps> = ({ children, title, width, h
</div>
)}
<Filler>{children}</Filler>
<div className={styles.content}>{children}</div>
</div>
);
};

View file

@ -3,8 +3,11 @@
.card {
width: 100vw;
max-width: 400px;
flex-basis: 400px;
flex: 1;
flex: 1 1 400px;
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
}
.head {
@ -15,3 +18,9 @@
align-items: center;
padding: $gap $gap $gap $gap * 2;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
}