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
This commit is contained in:
Alex Nordstrom
2022-04-05 23:58:45 -06:00
committed by GitHub
parent ef849f3b8d
commit 69c3679109

View File

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