[Bb-trac] [bbPress] #807: gravatar can cause vertical overflow for author info in Kakumei theme (has fix)

bbPress bb-trac at lists.bbpress.org
Sat Mar 8 18:50:32 GMT 2008


#807: gravatar can cause vertical overflow for author info in Kakumei theme (has
fix)
-----------------------+----------------------------------------------------
 Reporter:  _ck_       |       Owner:              
     Type:  defect     |      Status:  new         
 Priority:  high       |   Milestone:  0.9         
Component:  Front-end  |     Version:              
 Severity:  major      |    Keywords:  Kakumei, CSS
-----------------------+----------------------------------------------------
 I've noticed there is a growing problem with the way the author info is
 handled in topics by the CSS for the default Kakumei theme (and any other
 theme based on it).

 As you add information to the post author field on the left, it will start
 to vertically overflow and start to overlap the next post. This is because
 the designer unfortunately decided to use a shortcut via
 `position:absolute` making it impossible to `clear:both` columns.

 This problem has become important now that the gravatar is added to 0.9
 and by nature will make very short posts (single line) overlap  vertically
 on the left.

 Here's how to easily fix it by appending two simple lines to the very
 bottom of the `style.css`

 {{{
 .threadauthor  {position:relative; float:left; margin:0 -110px 0 0;
 right:110px; }
 .poststuff {clear:both;}
 }}}

 Tested working in Internet Explorer, Firefox, Opera and Safari for
 Windows. Would appreciate MAC browser feedback?

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


More information about the Bb-trac mailing list