Scroll on the fixed index
commit9fa62ea0df2751d7dbf11977a1d8be6bd85b350c
authorMatilde Park <matilde@tlon.io>
dateMon 9 Sep 2019, 23:48 (7 years ago)
parent8e73eb9
sass/_main.scss+5
@@ -349,6 +349,9 @@ details.page-indiced li {
349349}
350350
351351details {
352+ // overflow: scroll on the nav for these indices
353+ // cuts off the open chevron. thus:
354+ padding-left: 2px;
352355 & > summary {
353356 cursor: default;
354357 list-style: none;
@@ -385,5 +388,7 @@ body.page-indiced {
385388 nav:not(.search-overlay) {
386389 position: fixed;
387390 max-width: 20%;
391+ max-height: 100vh;
392+ overflow-y: scroll;
388393 }
389394}