On a narrow phone screen, deep outlines in SilverBullet run off to the right, because each list level steps in four characters. These styles step each level in two characters on the phone, so a sub-item's bullet sits under the first letter of its parent. Wrapped lines line up under the item's first word.
STYLES page, or any page you keep styles on.space-style code block (three backticks followed by space-style) and paste this inside it:/* phones: each nested level steps in 2 characters; wrapped lines start
under the first character after the bullet; a little space between items */
@media (max-width: 700px) {
#sb-main .cm-editor .cm-line:not(.sb-line-fenced-code, .sb-line-code, .sb-frontmatter) {
padding-left: 0 !important;
text-indent: 0 !important;
}
#sb-main .cm-editor .cm-line.sb-line-li-1 { padding-left: 2ch !important; text-indent: -2ch !important; }
#sb-main .cm-editor .cm-line.sb-line-li-1.sb-line-li-2 { padding-left: 4ch !important; text-indent: -6ch !important; }
#sb-main .cm-editor .cm-line.sb-line-li-1.sb-line-li-2.sb-line-li-3 { padding-left: 6ch !important; text-indent: -10ch !important; }
#sb-main .cm-editor .cm-line.sb-line-li-1.sb-line-li-2.sb-line-li-3.sb-line-li-4 { padding-left: 8ch !important; text-indent: -14ch !important; }
#sb-main .cm-editor .cm-line.sb-line-li-1.sb-line-li-2.sb-line-li-3.sb-line-li-4.sb-line-li-5 { padding-left: 10ch !important; text-indent: -18ch !important; }
#sb-main .cm-editor .cm-line:is(.sb-line-li-1, [style*="--sb-list-indent"]) {
padding-top: 0.45em !important;
}
/* query and widget results */
#sb-main .cm-editor :is(.sb-markdown-widget, .sb-lua-directive-block, .sb-lua-directive-inline, .sb-markdown-top-widget, .sb-markdown-bottom-widget) ul {
padding-left: 0 !important;
margin-left: 0 !important;
}
#sb-main .cm-editor :is(.sb-markdown-widget, .sb-lua-directive-block, .sb-lua-directive-inline, .sb-markdown-top-widget, .sb-markdown-bottom-widget) ul > li {
padding-top: 0.45em;
}
}