diff options
| author | vsn4ik <[email protected]> | 2015-09-13 16:02:58 +0300 |
|---|---|---|
| committer | vsn4ik <[email protected]> | 2015-09-13 16:02:58 +0300 |
| commit | d73d79a7a013ca147f9e6a94d16ff9bf86c5bf91 (patch) | |
| tree | e0e4b5b40a28f48be74b54b8d0175314583fdc65 | |
| parent | 87308ba2f6960ba7b5d630cd3aaf19b304df6b5c (diff) | |
| download | bootstrap-d73d79a7a013ca147f9e6a94d16ff9bf86c5bf91.tar.xz bootstrap-d73d79a7a013ca147f9e6a94d16ff9bf86c5bf91.zip | |
Use "@if not $bool" selector
| -rw-r--r-- | scss/mixins/_grid.scss | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index 585c80f27..3fc45f41e 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -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; |
