jarodtaylor
jarodtaylor

Reputation: 571

Compass/Susy Disable automatic clearfix?

I'm using Compass/Susy for the first time. I'm having an issue when using the @include container mixin. It's automatically applying a clearfix to it. This is not desired. Is there a way to turn this off, or override it?

Upvotes: 0

Views: 980

Answers (1)

Jeremy Iglehart
Jeremy Iglehart

Reputation: 4509

Yes, you can fork the source of susy and change this file: https://github.com/ericam/susy/blob/master/sass/susy/_grid.scss

It looks like the pie-clearfix is applied in this mixin: @mixin apply-container

There might be a way to over-write mixins... Or just make another one that is similar to this one - and call that instead.

Upvotes: 1

Related Questions