This commit is contained in:
parent
c7c8be95b5
commit
62ad559dbd
1 changed files with 7 additions and 4 deletions
|
@ -91,15 +91,16 @@
|
|||
|
||||
@media screen and (min-width: variables.$breakpoint) {
|
||||
.side-nav {
|
||||
position: sticky;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
// Capital Min to avoid invoking SCSS min
|
||||
width: 300px;
|
||||
min-width: 300px;
|
||||
|
||||
.side-nav-content {
|
||||
height: 100vh;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
padding-top: 32px;
|
||||
padding-right: 32px;
|
||||
padding-left: 32px;
|
||||
|
@ -107,6 +108,8 @@
|
|||
box-shadow: 10px 0 20px -10px var(--shadow-color);
|
||||
flex-direction: column;
|
||||
|
||||
justify-content: flex-start;
|
||||
|
||||
a.portrait img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue