From 69c3679109bbf3adad8112674c608b8f896ac72a Mon Sep 17 00:00:00 2001 From: Alex Nordstrom <6267244+HyperEpsilon@users.noreply.github.com> Date: Tue, 5 Apr 2022 23:58:45 -0600 Subject: [PATCH] Update Indentation Guide styling for Obsidian v0.14 Obsidian v0.14.0 introduced true Indentation Guides, so the css has been changed to modify the existing guides rather than creating it's own. https://forum.obsidian.md/t/obsidian-release-v0-14-0-insider-build/33986 --- obsidian.css | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/obsidian.css b/obsidian.css index 7244aa5..c3cef62 100644 --- a/obsidian.css +++ b/obsidian.css @@ -661,13 +661,9 @@ input.task-list-item-checkbox:checked } /* Bullet point relationship lines */ -.cm-hmd-list-indent .cm-tab, ul ul { position: relative; } -.cm-hmd-list-indent .cm-tab::before, ul ul::before { - content:''; - border-left: 1px solid var(--dim-blue); - position: absolute; +.markdown-source-view.mod-cm6 .cm-indent::before, +.markdown-rendered.show-indentation-guide li > ul::before, +.markdown-rendered.show-indentation-guide li > ol::before { + position: absolute; + border-right: 1px solid var(--dim-blue); } -.cm-hmd-list-indent .cm-tab::before { left: 0; top: -5px; bottom: -4px; -} -ul ul::before { left: -11px; top: 0; bottom: 0; -} \ No newline at end of file