aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAristeides Stathopoulos <[email protected]>2013-05-27 19:33:14 +0300
committerAristeides Stathopoulos <[email protected]>2013-05-27 19:33:14 +0300
commit2b088ef44e9476a6336487c65d42b74213cd2a19 (patch)
treec6a22729b2d5fe87e5484575d7bef1f753e608a2
parent7cbb1c0452a1d9904f7655aea78644def85b7f2e (diff)
downloadbootstrap-2b088ef44e9476a6336487c65d42b74213cd2a19.tar.xz
bootstrap-2b088ef44e9476a6336487c65d42b74213cd2a19.zip
using screen-size variables for grids
-rw-r--r--less/grid.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/grid.less b/less/grid.less
index 82d2a355b..1be9dfd18 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);
}
}