Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[Answered] Reduce paragraph height withut affecting line-height?

edited November 2016 in Help! with 2.0
Sugarcube 2.11.0

Is there any way to reduce the height of paragraphs in passages, without changing the line-height?

If possible I would like to do this without having to resort to setting a new selector and then inserting html in the passage to refer to it for every paragraph.

I tried p + p { margin-top: 0.5em; } in the CSS but it had no effect.

Comments

  • edited November 2016
    br {
                display: block; /* makes it have a width */
                content: ""; /* clears default height */
                margin-top: .5em; /* change this to whatever height you want it */
    }
    
Sign In or Register to comment.