1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 11:51:23 +02:00

property order and white space

This commit is contained in:
Mark Otto
2016-02-06 11:36:45 -08:00
parent 4ab7c93bcc
commit 50e854affa

View File

@@ -11,9 +11,9 @@
@if $enable-flex { @if $enable-flex {
.col-#{$breakpoint} { .col-#{$breakpoint} {
@extend column-basics; // Relative position, min-height, and horizontal padding @extend column-basics; // Relative position, min-height, and horizontal padding
max-width: 100%;
flex-basis: 0; flex-basis: 0;
flex-grow: 1; flex-grow: 1;
max-width: 100%;
} }
} }
@@ -30,7 +30,7 @@
} }
} }
} }
// `$columns - 1` because offsetting by the width of an entire row isn't possible // `$columns - 1` because offsetting by the width of an entire row isn't possible
@for $i from 0 through ($columns - 1) { @for $i from 0 through ($columns - 1) {
@if $breakpoint-counter != 1 or $i != 0 { // Avoid emitting useless .col-xs-offset-0 @if $breakpoint-counter != 1 or $i != 0 { // Avoid emitting useless .col-xs-offset-0