insanum / obsidian_gruvbox Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested lists with word wrap don't indent subsequent lines properly in editor mode #11
Comments
|
Came to report the same issue. Any chance of a fix? |
|
Probably a padding/margin issue. Is this issue only seen in gruvbox? What about the default theme (or others)? |
|
I opened https://forum.obsidian.md/t/indentation-in-lists-with-wrapping-at-wrong-depth/17666 about it, but it got pushed to the bug graveyard because a reload after the change to monospaced fonts in the default theme seems to recalculate the indent and fix itself. |
|
The issue was present in Vileplume (my other favorite theme). I raised the issue with the designer, and they managed to fix the issue. |
|
Same issue around here. It's so annoying. |
|
Fixed. This was a pain. :-) |


When generating a nested list in edit mode with word wrapped turned on, lines that are nested beyond the first level have an incorrect indentation:
Playing around with the CSS, the place that seems to cause this is the
font-family: var(--font-monospace)setting. Removing that (and thus using whatever font is inherited, which in this case is not monospaced) indents properly, but using a non-monospaced font is undesirable.Note that it is indented incorrectly on even the first layer of indents, it's just close enough to fool at a glance. Relevant CSS tags seem to be
HyperMD-list-line-#andcm-list-#.The text was updated successfully, but these errors were encountered: