diff --git a/CHANGES.md b/CHANGES.md index 4f0cbbd..ec04051 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ - [新增]个人中心本地文档批量导入到文集功能; - [优化]「草稿」状态的文档可通过文档浏览URL预览草稿文档内容; - [优化]文档排序值默认调整为9999; +- [优化]文档目录样式; ### v0.7.1 2021-09-29 diff --git a/static/toc/doctoc.js b/static/toc/doctoc.js index 5dbd7e6..95305d4 100644 --- a/static/toc/doctoc.js +++ b/static/toc/doctoc.js @@ -213,6 +213,7 @@ function addAllStyle(highlightColor) { overflow-y: auto; padding: 20px 20px 20px 20px; width:200px; + height: min-content; max-height:400px; background-color:white; border-left:2px solid #dddddd;