[Bb-trac] [bbPress] #875: kakumei style.css breaks posts with OL/UL because of clear:both on #thread LI

bbPress bb-trac at lists.bbpress.org
Thu May 1 12:01:40 GMT 2008


#875: kakumei style.css breaks posts with OL/UL because of clear:both on #thread
LI
-----------------------+----------------------------------------------------
 Reporter:  _ck_       |       Owner:                    
     Type:  defect     |      Status:  new               
 Priority:  normal     |   Milestone:  1.0-beta & XML-RPC
Component:  Front-end  |     Version:                    
 Severity:  normal     |    Keywords:                    
-----------------------+----------------------------------------------------
 Kakumei style.css has a bug:
 {{{
 #thread li {
 clear: both;
 }
 }}}

 It's meant to allow the posts to clear each other and not overlap author
 info but it also causes nested OL and UL within posts to also try to clear
 the box on both sides, breaking the post vertically (in
 Firefox/Opera/Safari, IE seems to ignore this).

 To fix this you must restore normal flow within the posts themselves.  I
 suggest:

 {{{
 #thread .post li {clear:none;}
 }}}

 which must be placed AFTER the previous rule.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/875>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list