defendtheweb / hackthis.co.uk

HackThis!!
http://www.hackthis.co.uk
Other
46 stars 55 forks source link

Incomplete display of new thread #149

Open 613038475 opened 10 years ago

613038475 commented 10 years ago

I notice a style error cause incomplete display of new thread. The reason is ".forum-container .forum-new-thread" has style "position: absolute", so it wont auto expand it's parent element, when height of this element large than 500 (.forum-container min-height), the over part will not visible.

There about 3 solutions

  1. set "min-height" of ".forum-container" to 650
  2. use "display: none" instead of "left: -110%" (no animation)
  3. hide ".forum-topics" then set "position: relative" in click event of ".new-thread" (unstable) I'm not sure which solution should take.

Picture, browser is firefox 30. preview