diff options
| author | Mark Otto <[email protected]> | 2015-08-04 20:42:41 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-04 20:42:41 -0700 |
| commit | bc4157054f3149313c1ee138ee17354f6303e0d5 (patch) | |
| tree | ef857222a45caebb350e80b61d65dc0452780bc6 | |
| parent | 575869253526f848ee6cc823c1a0fb3feb63ac37 (diff) | |
| parent | b5c5589a669b0bf9ae02017667bea049757a0685 (diff) | |
| download | bootstrap-bc4157054f3149313c1ee138ee17354f6303e0d5.tar.xz bootstrap-bc4157054f3149313c1ee138ee17354f6303e0d5.zip | |
Merge pull request #16785 from studyjan/debug_container
Round paddings of .container & .container-fluid to match .row's margins
| -rw-r--r-- | less/mixins/grid.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins/grid.less b/less/mixins/grid.less index f144c15f4..df496d0b3 100644 --- a/less/mixins/grid.less +++ b/less/mixins/grid.less @@ -6,8 +6,8 @@ .container-fixed(@gutter: @grid-gutter-width) { margin-right: auto; margin-left: auto; - padding-left: (@gutter / 2); - padding-right: (@gutter / 2); + padding-left: floor((@gutter / 2)); + padding-right: ceil((@gutter / 2)); &:extend(.clearfix all); } |
