Permalink
Browse files

Add max-height to toc menubar

  • Loading branch information...
1 parent 0dc9c82 commit 74ecd866974add35a75b8380174e1088aae98afc @mistic100 committed on GitHub Feb 15, 2017
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/static/css/toc.css
@@ -9,6 +9,9 @@
.toc-nav {
margin-top: 5px;
padding-bottom: 10px;
+ max-height: 95%;
+ max-height: calc(100% - 2em);
+ overflow-y: auto;
}
/* All levels of nav */
@@ -155,4 +158,4 @@
width: 263px;/* 3 col*/
/*width: 360px;/* 4 col */
}
-}
+}

0 comments on commit 74ecd86

Please sign in to comment.