Skip to content

Commit 16fd2b7

Browse files
committed
更新文章目录样式高度问题
1 parent afbd444 commit 16fd2b7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/css/_partial/article.styl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,14 @@ $article-gallery-ctrl
426426

427427
#toc-widget
428428
background #eee
429+
429430
#toc-widget-fixed
430431
background #eee
431-
position: fixed;
432-
box-shadow: 2px 3px 4px #ccc9c9;
432+
position: fixed
433+
max-height: 650px
434+
overflow-y: auto
435+
box-shadow: 2px 3px 4px #ccc9c9
436+
433437
.toc-widget-list
434438
background #eee
435439
margin 0.4em 0 0.3em 0.6em

0 commit comments

Comments
 (0)