0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

substituted hard-coded number of columns (12) with @gridColumns

This commit is contained in:
Emanuele Gaspari 2012-02-21 19:19:15 +01:00
parent 45cec4a6fa
commit 1cfb3fd03a

View File

@ -157,13 +157,13 @@
@media (min-width: 768px) and (max-width: 979px) {
// Fixed grid
#gridSystem > .generate(12, 42px, 20px);
#gridSystem > .generate(@gridColumns, 42px, 20px);
// Fluid grid
#fluidGridSystem > .generate(12, 5.801104972%, 2.762430939%);
#fluidGridSystem > .generate(@gridColumns, 5.801104972%, 2.762430939%);
// Input grid
#inputGridSystem > .generate(12, 42px, 20px);
#inputGridSystem > .generate(@gridColumns, 42px, 20px);
}
@ -309,13 +309,13 @@
@media (min-width: 1200px) {
// Fixed grid
#gridSystem > .generate(12, 70px, 30px);
#gridSystem > .generate(@gridColumns, 70px, 30px);
// Fluid grid
#fluidGridSystem > .generate(12, 5.982905983%, 2.564102564%);
#fluidGridSystem > .generate(@gridColumns, 5.982905983%, 2.564102564%);
// Input grid
#inputGridSystem > .generate(12, 70px, 30px);
#inputGridSystem > .generate(@gridColumns, 70px, 30px);
// Thumbnails
.thumbnails {