jonrohan/organic-propane — pull request #4 by aroben (2012-11-28 17:31:22+00:00)
Title: Stay scrolled to the bottom as new messages come in

Campfire inserts new messages into the DOM with `display:none`. After inserting them, it checks to see if the chat transcript is scrolled to the bottom. If it is, it re-scrolls to the bottom after removing the `display:none` property and showing the messages.

organic-propane was forcing messages to always be visible, which was breaking Campfire's "are we scrolled to the bottom?" code. This commit fixes that by removing the `!important` modifier on the `display:block` property set by the stylesheet. (It's quite likely that many of the `!important` modifiers in this stylesheet and Propane's default stylesheet could be removed, but that's a separate issue.) This allows Campfire to override the `display` property in the `tr.message` element's `style` attribute.