0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

Create col class for auto flexbox columns

.col-xs-auto, .col-sm-auto, etc.
This commit is contained in:
Alan Mooiman 2016-10-20 12:59:42 -04:00
parent b5890e0608
commit e22b0df8b2

View File

@ -40,6 +40,10 @@
flex-grow: 1;
max-width: 100%;
}
.col-#{$breakpoint}-auto {
flex: 0 0 auto;
width: auto;
}
}
@for $i from 1 through $columns {