fix: fixed TOC content overflow without scrollbar

This commit is contained in:
XPoet 2020-08-06 10:43:12 +08:00
parent a94aef61b3
commit 6db1d0c0ca
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ if ((hexo-config('magic.enable') && !hexo-config('magic.sidebar.enable') && hexo
.article-toc { .article-toc {
max-width: 188px; max-width: 188px;
max-height: 600px; max-height: 600px;
overflow-y: auto;
background: var(--background-color); background: var(--background-color);
if (hexo-config('magic.enable') == true) { if (hexo-config('magic.enable') == true) {