Created
January 17, 2022 09:56
-
-
Save tcsavage/baee0634e6041d6f9773076d12b1e419 to your computer and use it in GitHub Desktop.
Obsidian CSS snippet which fixes https://github.com/Aidurber/obsidian-plugin-dynamic-toc/issues/33 (based on https://github.com/blacksmithgu/obsidian-dataview/issues/743#issuecomment-1007879013)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dynamic-toc > * { | |
margin-top: 0px; | |
margin-bottom: 0px; | |
} | |
.dynamic-toc > * br { | |
display: none; | |
} | |
.dynamic-toc > *:first-child { | |
margin-top: 16px; | |
} | |
.dynamic-toc > *:last-child { | |
margin-bottom: 16px; | |
} | |
.dynamic-toc ul { | |
white-space: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment