mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Create col class for auto flexbox columns
.col-xs-auto, .col-sm-auto, etc.
This commit is contained in:
parent
b5890e0608
commit
e22b0df8b2
@ -40,6 +40,10 @@
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
.col-#{$breakpoint}-auto {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@for $i from 1 through $columns {
|
@for $i from 1 through $columns {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user