mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
improve ToC height responsiveness
This commit is contained in:
parent
b79f84fff6
commit
0dda1aeaa1
@ -279,6 +279,8 @@
|
||||
top: 100px;
|
||||
width: 300px;
|
||||
font-size: .9em;
|
||||
max-height: calc(100% - 150px);
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,4 +60,15 @@
|
||||
width: 19px;
|
||||
height: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
/* side ToC */
|
||||
|
||||
.toc.side::-webkit-scrollbar-thumb {
|
||||
border: none;
|
||||
background: var(--secondary);
|
||||
}
|
||||
|
||||
.toc.side::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user