From a11ae7facfa13c8d85615fb9bc660b7b415f8bbf Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 May 2017 20:15:05 -0700 Subject: [PATCH] add a compact gutter option, .gutters-sm --- scss/_grid.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scss/_grid.scss b/scss/_grid.scss index 9ab9ae02b6..e15a9430fd 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