diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 3857fec..aa13c3d 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -314,6 +314,11 @@ h6:hover .anchor { top: 118px; font-size: .8em; z-index: 1; + max-height: calc(100% - 150px); + overflow: auto; + } + .toc.side::-webkit-scrollbar-thumb { + border: 5px solid var(--code-bg); } .toc.side.left { left: 15px; @@ -325,10 +330,6 @@ h6:hover .anchor { } } -.dark .toc { - background: var(--entry); -} - .toc details summary { cursor: pointer; margin-inline-start: 15px;