What I’m trying to do
I’m trying to have the same spacing, using padding, on headings both on reading and live preview modes.
Things I have tried
The following snippet, only works for the live preview but not on reading view.
.markdown-source-view.mod-cm6 .HyperMD-header {
padding-bottom: 0.5rem;
}
that snippet does not work in reading view as you are targeting .markdown-source-view and .HyperMD-header.
how to target both the preview and liveeditor?
I think you would have more luck asking at the Obsidian Members’ Group Discord server. The CSS wizards are more active there.
system
Closed
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.