No margin when starting a reply/post with an unordered list


(Michael Downey) #1
  • When starting a reply (or ostensibly a new topic) with an unordered list, and there’s no paragraph text before it, there is no margin on the text.
  • Normally there is a 14px (?) margin above and below the text in each post.

(Michael Downey) #2

The above post is an example of this in action.


(Jeff Atwood) #3

this also happens with blockquote


(Michael Downey) #4
  1. There are probably some others so someone might want to poke around and do some more tests.

(Jeff Atwood) #5

It is anything that is not in a paragraph tag.


(Jeff Atwood) #6

I fixed this a while ago for 1.2. Basically the post <div> itself needed an initial margin, it was assuming the first element in the <div> content had a top margin which is not a safe assumption.


(Jeff Atwood) #7