Export to GitHub

blueprintcss - issue #63

clear class doesn't work when used with another class


Posted on Nov 26, 2007 by Swift Camel

What steps will reproduce the problem? 1. create a 2 column layout where 1 column is longer than the other 2. add clear class to second shorter column with the column span-x last, etc classes 3. remove everything but the clear class

What is the expected output? What do you see instead? I expect to see the column clear down as long as the first column

What version of the product are you using? On what operating system? .6

Please provide any additional information below.

Comment #1

Posted on Jan 13, 2008 by Happy Horse

This is not what .clear does - but you're right, it's not properly named.

I've changed the name from .clear to .clearfix for the next release, to signify that this is a hack, not meant to be used for regular clearing. I've added a new .clear (clear:both;), so that your example would work as expected.

Status: Fixed

Labels:
Type-Defect Priority-Medium