fleet/frontend/pages/admin/components/SideNav/_styles.scss

25 lines
518 B
SCSS

.side-nav {
&__container {
display: flex;
}
&__nav-list {
position: -webkit-sticky;
position: sticky;
// this is the spacing needed to make the sticky form nav position correctly when scrolling
// TODO: find a way to calculate these sticky positions this and use variables.
// will be tedious to update otherwise.
top: 217px;
width: 178px;
margin: 0;
padding: 0 110px 0 0;
list-style: none;
font-size: $x-small;
}
&__card-container {
width: 100%
}
}