1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Ugh, Sass doesn't do extends across media, so we can't use placeholder here

This commit is contained in:
Mark Otto
2016-02-06 11:48:28 -08:00
parent 50e854affa
commit 15018a6d8a
3 changed files with 5 additions and 21 deletions

View File

@@ -10,10 +10,13 @@
@include media-breakpoint-up($breakpoint, $breakpoints) {
@if $enable-flex {
.col-#{$breakpoint} {
@extend column-basics; // Relative position, min-height, and horizontal padding
position: relative;
max-width: 100%;
min-height: 1px;
flex-basis: 0;
flex-grow: 1;
padding-right: ($grid-gutter-width / 2);
padding-left: ($grid-gutter-width / 2);
}
}