Snippet to increase padding or margin at top of note in Live Preview mode (Minimal Theme)?

I just switched to the Minimal theme, and I’ve found that suddenly all of my notes have almost zero padding/margin at the top (the first line of text starts immediately below the tab line, as seen in the attached screenshot). I always keep my notes in Live Preview mode. Does anyone have a snippet, or know the name of the relevant css element, to change the padding/margin value in Minimal?

(Sorry if this has been covered in another thread–I only found discussions of padding whole paragraphs and headers.)

Screenshot 2023-08-02 at 10.41.18 AM

1 Like

Found the solution! Here’s the snippet that works (you can adjust the first padding value however you like to change that top margin):

.view-content > .markdown-source-view.mod-cm6 > .cm-editor > .cm-scroller {
padding: 20px 0px 0px 0px;
}

1 Like

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