Permalink
Browse files

feat: add scroll bar to toc 目录滚动条

Set max height of table of content and add a scroll bar to it.
当目录超过设置高度时显示滚动条。
  • Loading branch information...
MOxFIVE committed Sep 3, 2015
1 parent 68bdc0c commit 5649f379fab57fd819fcdb543fa11dcfc0a485cd
Showing with 2 additions and 0 deletions.
  1. +2 −0 themes/Yilia/source/css/_partial/article.styl
@@ -388,6 +388,8 @@ body {
margin-left: 1em;
padding: 0.5em;
max-width: 28%;
max-height: 28em;
overflow: auto;
}
.toc-title {

0 comments on commit 5649f37

Please sign in to comment.