mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-03 15:15:57 +02:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue