Akifyss / obsidian-border

A theme for obsidian.md
MIT License
1.34k stars 47 forks source link

如何调整标题和正文之间的间距呢 #305

Closed mahaonanStart closed 2 months ago

mahaonanStart commented 2 months ago

阅读模式下标题和正文间距很舒服,但是编辑模式下太过于紧凑。如果手动输入一行,又显得太宽了。问下作者大大,能不能支撑调整编辑模式下标题和正文的间距呢

image
mahaonanStart commented 2 months ago

还有个问题,手机端如何隐藏上下的菜单栏工具栏呢,感谢赐教

Akifyss commented 2 months ago

导入这两段css代码片段应该就能实现:

.cm-s-obsidian .cm-line.HyperMD-header{
    padding-bottom: var(--p-spacing);
}
.is-mobile .view-header,
.is-mobile .mobile-navbar{
    display: none;
}