Use "@if not $bool" selector

This commit is contained in:
vsn4ik 2015-09-13 16:02:58 +03:00
parent 87308ba2f6
commit d73d79a7a0
1 changed files with 2 additions and 5 deletions

View File

@ -7,8 +7,7 @@
margin-left: auto;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@if $enable-flex {
} @else {
@if not $enable-flex {
@include clearfix();
}
}
@ -36,9 +35,7 @@
@mixin make-col($gutter: $grid-gutter-width) {
position: relative;
@if $enable-flex {
// Do nothing
} @else {
@if not $enable-flex {
float: left;
}
min-height: 1px;