Stylesheet default: Header (H1) line height needs adjustment (v0.12.1)

Examples listed:

case 1: One of my vaults


case 2: Another vault

case 3: The Help vault, simply turning a random paragraph into a header.

1 Like

Noticed this one too earlier this morning. Fixed it with custom CSS. Seems there were a bunch of CSS tweaks made between 0.11 and 0.12, see eg 0.12.x - metadata frontmatter triangle vertically mis-aligned

edit: here’s the CSS I’m using for now:

.markdown-preview-view h1,
.markdown-preview-view h2,
.markdown-preview-view h3,
.markdown-preview-view h4,
.markdown-preview-view h5,
.markdown-preview-view h6 {
	margin: 0px 0px 8px 0px;
	line-height: 100%;

.markdown-preview-view p {
	margin-block-start: 0em;
	margin-block-end: 1em;

.markdown-preview-view .frontmatter-container {
	margin-block-end: 1em;

That’s a good quick fix. Thanks.

It doesn’t disregard the bug, though, and should be looked into within the next few releases.

Thanks! This has been driving me nuts, and I don’t have the CSS chops to fix it myself.

will be fixed 0.12.2

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.