improve ToC height responsiveness

This commit is contained in:
Wonderfall 2022-07-28 16:37:20 +02:00
parent b79f84fff6
commit 0dda1aeaa1
2 changed files with 13 additions and 0 deletions

View File

@ -279,6 +279,8 @@
top: 100px;
width: 300px;
font-size: .9em;
max-height: calc(100% - 150px);
overflow: auto;
}
}

View File

@ -61,3 +61,14 @@
height: 11px;
}
}
/* side ToC */
.toc.side::-webkit-scrollbar-thumb {
border: none;
background: var(--secondary);
}
.toc.side::-webkit-scrollbar {
width: 8px;
}