obsidian-floating-toc-plugin
obsidian-floating-toc-plugin copied to clipboard
[feature request] option to disable and/or customization of sizing when pushing the file content when TOC is pinned / unpinned
Love the plugin! Lowkey didn't find it all that useful in general though and a little obtrusive on mobile. ended up disabling it via CSS. A style setting would be great!
Thanks for the hard work!
Snippet for anyone browsing:
.workspace-leaf-content .floating-toc-div.pin:is(.floating-left,.floating-both)+.markdown-source-view>.cm-editor,
.workspace-leaf-content .floating-toc-div:is(.floating-left,.floating-both)+.markdown-source-view>.cm-editor {
padding-left: inherit !important;
}
good! The default style is to prevent floating toc from overlapping with the body of the text. For small screens, this css snippets that reduce the amount of white space on the screen.