Looked for a community plug-in (inc. Minimal theme settings), can’t find anything
Looked throughout forum, can’t find
(could be being blind on all of the above!)
What I’m trying to do
When I close a heading, I want to have 1 line (or at least equivilant, even if it isn’t techincally a line) spacing between the headings. To be clear, when the headings are open I don’t want this to be the case (i.e. changing my spacing system wide won’t solve this issue).
Example:
Current situation:
When Open
Heading 2
Some text
Heading 2
Some text
When closed:
Heading 2
Heading 2
Desired Outcome:
When Open
Heading 2
Some text
Heading 2
Some text
When closed:
Heading 2
Heading 2
–
Essentially, what I want to avoid is when I have a document with a large number of headings which are closed, it doesn’t look like this
In a dream scenario, I’d be able to configure these settings on a Heading level (i.e. have different settings for a H2 & H3) but let’s walk before we can run!!
There is still one last issue I encountered: In case a heading is very long and breaks over the margin, the space is inserted in between the two lines of the heading, but not after it.
### Here is a collapsed heading
test
### But here is a very long collapsed heading that unfortunately breaks over the margin
test
### And here is another short heading
test
Just from the CSS I don’t see why this would happen, so is this maybe a display bug? Or can the CSS be adapted to cover this case as well?