]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
using screen-size variables for grids
authorAristeides Stathopoulos <aristath@gmail.com>
Mon, 27 May 2013 16:33:14 +0000 (19:33 +0300)
committerAristeides Stathopoulos <aristath@gmail.com>
Mon, 27 May 2013 16:33:14 +0000 (19:33 +0300)
less/grid.less

index 82d2a355b848357cd5c9b97f2a77750491e2ac7f..1be9dfd1831dc794e2a53ef7a4f224fe58d7361b 100644 (file)
 // 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);
   }
 }