mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #16785 from studyjan/debug_container
Round paddings of .container & .container-fluid to match .row's margins
This commit is contained in:
commit
bc4157054f
@ -6,8 +6,8 @@
|
|||||||
.container-fixed(@gutter: @grid-gutter-width) {
|
.container-fixed(@gutter: @grid-gutter-width) {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: (@gutter / 2);
|
padding-left: floor((@gutter / 2));
|
||||||
padding-right: (@gutter / 2);
|
padding-right: ceil((@gutter / 2));
|
||||||
&:extend(.clearfix all);
|
&:extend(.clearfix all);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user