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:
parent
b5890e0608
commit
e22b0df8b2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user