1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 21:22:52 +02:00

Add $gutter parameter to make-col mixin; fixes #19147

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert
2016-02-17 03:19:07 -08:00
parent c1eb92a041
commit 43d0d45d0a
2 changed files with 4 additions and 4 deletions

View File

@@ -33,11 +33,11 @@
margin-right: ($gutter / -2);
}
@mixin make-col($size, $columns: $grid-columns) {
@mixin make-col($size, $columns: $grid-columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-right: ($grid-gutter-width / 2);
padding-left: ($grid-gutter-width / 2);
padding-right: ($gutter / 2);
padding-left: ($gutter / 2);
@if $enable-flex {
flex: 0 0 percentage($size / $columns);