mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 20:31:26 +02:00
Move the conditional statement back to the file because nested imports aren't supported in Sass
This commit is contained in:
@@ -6,7 +6,4 @@
|
|||||||
@import "utilities/spacing";
|
@import "utilities/spacing";
|
||||||
@import "utilities/text";
|
@import "utilities/text";
|
||||||
@import "utilities/visibility";
|
@import "utilities/visibility";
|
||||||
|
@import "utilities/flex";
|
||||||
@if $enable-flex and $enable-grid-classes {
|
|
||||||
@import "utilities/flex";
|
|
||||||
}
|
|
||||||
|
@@ -2,7 +2,8 @@
|
|||||||
//
|
//
|
||||||
// Custom styles for additional flex alignment options.
|
// Custom styles for additional flex alignment options.
|
||||||
|
|
||||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
@if $enable-flex and $enable-grid-classes {
|
||||||
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||||
// Flex column reordering
|
// Flex column reordering
|
||||||
@include media-breakpoint-up($breakpoint) {
|
@include media-breakpoint-up($breakpoint) {
|
||||||
.flex-#{$breakpoint}-first { order: -1; }
|
.flex-#{$breakpoint}-first { order: -1; }
|
||||||
@@ -22,4 +23,5 @@
|
|||||||
.flex-#{$breakpoint}-center { align-self: center; }
|
.flex-#{$breakpoint}-center { align-self: center; }
|
||||||
.flex-#{$breakpoint}-bottom { align-self: flex-end; }
|
.flex-#{$breakpoint}-bottom { align-self: flex-end; }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user