obsidian-floating-toc-plugin
obsidian-floating-toc-plugin copied to clipboard
If there are too many directories, , it will not be displayed completely, and the font is too small, can it be set to scroll mode?
I fixed the bug, which was triggered by a css style Please modify the style.css file in the plugin directory:
.floating-toc[data-v-3bdd42b2] {
list-style: none;
margin: 0;
padding: 0.1rem;
position: absolute;
top: 40px;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow: hidden;
bottom: 40px;
width: 2rem;
}
.floating-toc[data-reveal=true][data-v-3bdd42b2] {
width: auto;
overflow: auto;
}
.floating-toc[data-reveal=true][data-v-3bdd42b2]::-webkit-scrollbar {
display: none;
}
Thank you, are you able to submit a PR? Thanks!
Okay, I'll try.