CSS clearfix for body?


(Jens Maier) #1

My customizations add a few boxes to Discourse’s overall design; among other things, I’ve added a border and, to prevent the border from getting squished into the window border, a small margin to the bottom of the #main-outlet. Unfortunately, this conflicts with category backgrounds on the body element:

TL;DR, body could use the clearfix class. In the meantime, I’ll copy the clearfix rules and apply them directly to body. :smile:


(Jeff Atwood) #2

Can you take a peek @awesomerobot?


(Kris) #3

A simple pr for a simple request!

https://github.com/discourse/discourse/pull/3301


(Régis Hanol) #4