From: Mark Otto Date: Tue, 27 Oct 2015 15:49:04 +0000 (-0700) Subject: Merge pull request #17749 from Prelc/patch-1 X-Git-Tag: v4.0.0-alpha.2~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368eda788d66c5cd8b39a20878c3302f5e61b351;p=thirdparty%2Fbootstrap.git Merge pull request #17749 from Prelc/patch-1 Remove empty line from _grid.scss --- 368eda788d66c5cd8b39a20878c3302f5e61b351 diff --cc scss/_grid.scss index 02a2895579,c053d94664..a71f3aaf24 --- a/scss/_grid.scss +++ b/scss/_grid.scss @@@ -66,12 -96,28 +66,11 @@@ // Alignment per column - .col-xs-top { align-self: flex-start; } - .col-xs-center { align-self: center; } - .col-xs-bottom { align-self: flex-end; } - - @include media-breakpoint-up(sm) { - .col-sm-top { align-self: flex-start; } - .col-sm-center { align-self: center; } - .col-sm-bottom { align-self: flex-end; } - } - @include media-breakpoint-up(md) { - .col-md-top { align-self: flex-start; } - .col-md-center { align-self: center; } - .col-md-bottom { align-self: flex-end; } - } - @include media-breakpoint-up(lg) { - .col-lg-top { align-self: flex-start; } - .col-lg-center { align-self: center; } - .col-lg-bottom { align-self: flex-end; } - } - @include media-breakpoint-up(xl) { - .col-xl-top { align-self: flex-start; } - .col-xl-center { align-self: center; } - .col-xl-bottom { align-self: flex-end; } + @each $breakpoint in map-keys($grid-breakpoints) { + @include media-breakpoint-up($breakpoint) { + .col-#{$breakpoint}-top { align-self: flex-start; } + .col-#{$breakpoint}-center { align-self: center; } + .col-#{$breakpoint}-bottom { align-self: flex-end; } + } } - }