mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Use "@if not $bool" selector
This commit is contained in:
parent
87308ba2f6
commit
d73d79a7a0
1 changed files with 2 additions and 5 deletions
|
@ -7,8 +7,7 @@
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: ($gutter / 2);
|
padding-left: ($gutter / 2);
|
||||||
padding-right: ($gutter / 2);
|
padding-right: ($gutter / 2);
|
||||||
@if $enable-flex {
|
@if not $enable-flex {
|
||||||
} @else {
|
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,9 +35,7 @@
|
||||||
|
|
||||||
@mixin make-col($gutter: $grid-gutter-width) {
|
@mixin make-col($gutter: $grid-gutter-width) {
|
||||||
position: relative;
|
position: relative;
|
||||||
@if $enable-flex {
|
@if not $enable-flex {
|
||||||
// Do nothing
|
|
||||||
} @else {
|
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue