diff options
| author | Mark Otto <[email protected]> | 2017-05-26 20:15:05 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-26 20:15:05 -0700 |
| commit | a11ae7facfa13c8d85615fb9bc660b7b415f8bbf (patch) | |
| tree | 2eb8ab3f436d1f2f12b62a1f599ae9352fc9f31c | |
| parent | ee1af53d9f178bd34ce7b1ddb7ae9fffcb6f7fe1 (diff) | |
| download | bootstrap-a11ae7facfa13c8d85615fb9bc660b7b415f8bbf.tar.xz bootstrap-a11ae7facfa13c8d85615fb9bc660b7b415f8bbf.zip | |
add a compact gutter option, .gutters-sm
| -rw-r--r-- | scss/_grid.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scss/_grid.scss b/scss/_grid.scss index 9ab9ae02b..e15a9430f 100644 --- a/scss/_grid.scss +++ b/scss/_grid.scss @@ -42,6 +42,18 @@ padding-left: 0; } } + + // Optionally tighten the gutters between columns + .gutters-sm { + margin-right: -5px; + margin-left: -5px; + + > .col, + > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; + } + } } // Columns |
