aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-08-13 14:54:57 -0700
committerGitHub <[email protected]>2017-08-13 14:54:57 -0700
commitbb0cab9f10c4716e01972e9404849deb9f2882ca (patch)
tree4a91097f02b11f2fa1b85203c9680eafc6177306 /scss
parent54d76805a5e425bc870d7cff9a75210170711ea4 (diff)
downloadbootstrap-bb0cab9f10c4716e01972e9404849deb9f2882ca.tar.xz
bootstrap-bb0cab9f10c4716e01972e9404849deb9f2882ca.zip
move max-width: 100% on .container to the root of the make-container mixin so it's not repeated at compilation (#22947)
Diffstat (limited to 'scss')
-rw-r--r--scss/mixins/_grid.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss
index 67dbcd38e..b694b4d01 100644
--- a/scss/mixins/_grid.scss
+++ b/scss/mixins/_grid.scss
@@ -3,11 +3,11 @@
// Generate semantic grid columns with these mixins.
@mixin make-container() {
+ width: 100%;
margin-right: auto;
margin-left: auto;
padding-right: ($grid-gutter-width / 2);
padding-left: ($grid-gutter-width / 2);
- width: 100%;
}