Paragraph breaks produce large gaps

Discussion in 'Site Discussion' started by Pocket, Mar 3, 2016.

  1. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    This has been bugging me ever since we migrated to the new site. Typically on a forum, people use a pair of line breaks,

    like this, to indicate a break between paragraphs, because there's no way to insert a </p><p>. But on this site, line breaks create a little extra space between lines. So we get these extra-large gaps that look very unnatural. Making this doubly frustrating is the fact that those extra gaps don't appear in the text box we type our posts into, even though other formatting is visible. This should be an easy CSS fix; could we please get it?
     
    • Thanks Thanks x 1
  2. Geit

    aa Geit 💜 I probably broke it 💜

    Messages:
    597
    Positive Ratings:
    1,112
    The reason it's like this is because because without the extra margin single line breaks are indistinguishable from long lines of wrapped text. Not everyone does do the double line break to represent a paragraph, and that makes some posts nearly unreadable.

    i.e. (styling, no extra margin on breaks):

    [​IMG]
    current (old):

    [​IMG]

    I've added an additional selector for contiguous breaks to lower the margin a bit, so this is what it looks like now:

    [​IMG]
     
    • Thanks Thanks x 2
    Last edited: Mar 3, 2016
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    Who doesn't do double line breaks? I don't remember ever seeing anyone who didn't do that, and if they did, the solution is to tell them the right way to do it rather than make everyone else do it the wrong way.
     
  4. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,109
    Positive Ratings:
    6,059
    Double line breaks are silly in a lot of word-processing tools. The world isn't running in notepad.
     
  5. Idolon

    aa Idolon the worst admin

    Messages:
    1,538
    Positive Ratings:
    4,415
    Single line breaks are nice
    you don't have to hit enter twice
    it's good for a list
    it will be missed
    but that is just my advice

    Writing poetry isn't exactly a common occurrence here, but my point is that sometimes you want a shorter single line break. I think we can trust our users to format stuff nicely, and the option is there for people who want it.
     
  6. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    [​IMG]
    (yes, thats an image ilustrating a line break distance of just 3 pixels, which is extremely clear to notice yet barely hurts even if it would be a double line)