From: Aristeides Stathopoulos Date: Mon, 27 May 2013 16:33:14 +0000 (+0300) Subject: using screen-size variables for grids X-Git-Tag: v3.0.0-rc1~312^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b088ef44e9476a6336487c65d42b74213cd2a19;p=thirdparty%2Fbootstrap.git using screen-size variables for grids --- diff --git a/less/grid.less b/less/grid.less index 82d2a355b8..1be9dfd183 100644 --- a/less/grid.less +++ b/less/grid.less @@ -39,21 +39,21 @@ // Responsive: Tablets and up @media screen and (min-width: @screen-tablet) { .container { - max-width: 728px; + max-width: (@screen-tablet - 40); } } // Responsive: Desktops and up @media screen and (min-width: @screen-desktop) { .container { - max-width: 940px; + max-width: (@screen-desktop - 52); } } // Responsive: Large desktops and up @media screen and (min-width: @screen-large-desktop) { .container { - max-width: 1170px; + max-width: (@screen-large-desktop - @grid-gutter-width); } }