2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Allow override default col width

This commit is contained in:
ysds
2019-08-28 23:37:39 +09:00
committed by Mark Otto
parent cc248791b0
commit ebfeaa4ad1
4 changed files with 23 additions and 12 deletions
+3 -2
View File
@@ -56,7 +56,8 @@
// numberof columns. Supports wrapping to new lines, but does not do a Masonry
// style grid.
@mixin row-cols($count) {
& > [class^="col"] {
flex: 0 0 calc(100% / #{$count});
& > * {
flex: 0 0 100% / $count;
max-width: 100% / $count;
}
}