stylesheets/toolkit/_clearfix.scss in toolkit-2.0.0.alpha.10 vs stylesheets/toolkit/_clearfix.scss in toolkit-2.0.0
- old
+ new
@@ -1,20 +1,19 @@
//////////////////////////////
// Modern Clearfix Mixin
//////////////////////////////
@mixin clearfix($extend: null) {
$extend: if($extend != null, $extend, toolkit-get('clearfix extend'));
- @if $extend {
- @extend %toolkit-clearfix;
+
+ @if $extend == true {
+ @include toolkit-placeholder('clearfix') {
+ @include clearfix(false);
+ }
}
@else {
&:after {
content: "";
display: table;
clear: both;
}
}
-}
-
-%toolkit-clearfix {
- @include clearfix(false);
}
\ No newline at end of file