style: 跳转toc样式

This commit is contained in:
2026-08-28 23:15:01 +08:00
parent 3595435078
commit 24fe52cfe3

View File

@@ -41,7 +41,7 @@ const lowLevel = Math.min(...toc.map((v) => v.level));
position: sticky; position: sticky;
top: 60px; top: 60px;
height: calc(100vh - 120px); height: calc(100vh - 120px);
width: 100%; bottom: -64px;
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;