diff options
Diffstat (limited to 'assets/stylesheets/bootstrap/_grid.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_grid.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/stylesheets/bootstrap/_grid.scss b/assets/stylesheets/bootstrap/_grid.scss index 24cf74d..8c7a9ee 100644 --- a/assets/stylesheets/bootstrap/_grid.scss +++ b/assets/stylesheets/bootstrap/_grid.scss @@ -28,6 +28,19 @@ .row { @include make-row(); } + + // Remove the negative margin from default .row, then the horizontal padding + // from all immediate children columns (to prevent runaway style inheritance). + .no-gutters { + margin-right: 0; + margin-left: 0; + + > .col, + > [class*="col-"] { + padding-right: 0; + padding-left: 0; + } + } } // Columns |