diff options
| author | Mark Otto <[email protected]> | 2011-09-02 22:08:38 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-02 22:08:38 -0700 |
| commit | 5c3f0e32e6940e9e9482f8eaf6864c75dab3dacf (patch) | |
| tree | 2bb1709b97a4f4b0d4287bbc626b28ccbf93fcff /lib | |
| parent | d5e42cf81a5b0a680d59e3dc5ebdc45652b7b4e9 (diff) | |
| download | bootstrap-5c3f0e32e6940e9e9482f8eaf6864c75dab3dacf.tar.xz bootstrap-5c3f0e32e6940e9e9482f8eaf6864c75dab3dacf.zip | |
updated container mixin to be fixed-container instead so we can keep the .container in scaffolding while removing the repeated code
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/preboot.less | 5 | ||||
| -rw-r--r-- | lib/scaffolding.less | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/preboot.less b/lib/preboot.less index d840ad1a6..adbbc676e 100644 --- a/lib/preboot.less +++ b/lib/preboot.less @@ -121,9 +121,10 @@ } // Grid System -.container { +.fixed-container { width: @siteWidth; - margin: 0 auto; + margin-left: auto; + margin-left: auto; .clearfix(); } .columns(@columnSpan: 1) { diff --git a/lib/scaffolding.less b/lib/scaffolding.less index b7c44e652..10af26c16 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.less @@ -73,9 +73,7 @@ body { // Container (centered, fixed-width layouts) .container { - width: @siteWidth; - margin-left: auto; - margin-right: auto; + .fixed-container(); } // Fluid layouts (left aligned, with sidebar, min- & max-width content) |
