feat(article): add scrollbar to TOC (#293)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/236
This commit is contained in:
Jimmy Cai 2021-08-08 17:03:48 +02:00 committed by GitHub
parent 5539a42b30
commit 3b9e248bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,8 +191,12 @@
display: flex;
flex-direction: column;
color: var(--card-text-color-main);
overflow: hidden;
#TableOfContents {
overflow-x: auto;
max-height: 75vh;
ol,
ul {
margin: 0;