0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Merge pull request #17589 from vsn4ik/use_scss_if_not

v4 - Use "@if not $bool" expression
This commit is contained in:
Mark Otto 2015-09-22 15:26:28 -07:00
commit 918d0c7122

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;