Enable toc sidebar scrolling (#2874)
* Enable toc sidebar scrolling * Refactor style rules * Move style rules from 'navigation' to 'sidebar' * Remove custom scrollbar styles
This commit is contained in:
parent
89de4d46db
commit
0f06cb8225
2 changed files with 9 additions and 2 deletions
|
@ -201,7 +201,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
img{
|
||||
img {
|
||||
-webkit-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
|
|
@ -89,6 +89,13 @@
|
|||
position: sticky;
|
||||
top: 2em;
|
||||
float: right;
|
||||
|
||||
.toc {
|
||||
.toc__menu {
|
||||
overflow-y: auto;
|
||||
max-height: calc(100vh - 7em);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue