obsidian-floating-toc-plugin icon indicating copy to clipboard operation
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

Open sisi-sh opened this issue 11 months ago • 1 comments

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;
}

sisi-sh avatar Mar 22 '24 03:03 sisi-sh

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.

cumany avatar Apr 07 '24 01:04 cumany