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:
parent
2e75e4f7c0
commit
d4f57a97d8
4 changed files with 13 additions and 4 deletions
|
@ -11,6 +11,7 @@ const ProfileSidebarSettings: FC<IProps> = () => (
|
|||
<div className={styles.scroller}>
|
||||
<ProfileSettings />
|
||||
</div>
|
||||
|
||||
<div className={styles.buttons}>
|
||||
<Filler />
|
||||
<Button color="outline">Отмена</Button>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -23,7 +23,7 @@ const SidebarStackCard: FC<SidebarStackCardProps> = ({ children, title, width, h
|
|||
</div>
|
||||
)}
|
||||
|
||||
<Filler>{children}</Filler>
|
||||
<div className={styles.content}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue