From c381199968dc19a458f5e43e8b1aeebae284b7cc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 25 Jan 2012 09:57:40 -0800 Subject: [PATCH] fix media queries in scaffolding --- docs/scaffolding.html | 4 ++-- docs/templates/pages/scaffolding.mustache | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 3e2ddf077d..3a903cf573 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -357,7 +357,7 @@
  1. Use the compiled responsive version, bootstrap.reponsive.css
  2. Add @import "responsive.less" and recompile Bootstrap
  3. -
  4. Compile responsive.less as a separate file and include that
  5. +
  6. Modify and recompile responsive.less as a separate

Why not just include it? Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.

@@ -367,7 +367,7 @@ @media (max-width: 480px) { ... } // Landscape phone to portrait tablet - @media (min-width: 480px) and (max-width: 768px) { ... } + @media (max-width: 768px) { ... } // Portrait tablet to landscape and desktop @media (min-width: 768px) and (max-width: 940px) { ... } diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache index 981c60706d..aea8002ad0 100644 --- a/docs/templates/pages/scaffolding.mustache +++ b/docs/templates/pages/scaffolding.mustache @@ -294,7 +294,7 @@
  1. {{_i}}Use the compiled responsive version, bootstrap.reponsive.css{{/i}}
  2. {{_i}}Add @import "responsive.less" and recompile Bootstrap{{/i}}
  3. -
  4. {{_i}}Compile responsive.less as a separate file and include that{{/i}}
  5. +
  6. {{_i}}Modify and recompile responsive.less as a separate{{/i}}

{{_i}}Why not just include it? Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.{{/i}}

@@ -304,7 +304,7 @@ @media (max-width: 480px) { ... } // {{_i}}Landscape phone to portrait tablet{{/i}} - @media (min-width: 480px) and (max-width: 768px) { ... } + @media (max-width: 768px) { ... } // {{_i}}Portrait tablet to landscape and desktop{{/i}} @media (min-width: 768px) and (max-width: 940px) { ... }