feat(article): add scrollbar to TOC (#293)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/236
This commit is contained in:
parent
5539a42b30
commit
3b9e248bfd
@ -191,8 +191,12 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
color: var(--card-text-color-main);
|
color: var(--card-text-color-main);
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
#TableOfContents {
|
#TableOfContents {
|
||||||
|
overflow-x: auto;
|
||||||
|
max-height: 75vh;
|
||||||
|
|
||||||
ol,
|
ol,
|
||||||
ul {
|
ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user