diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 20a9f5c73c..caffa6af66 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -533,13 +533,13 @@
@media (max-width: 480px) { ... }
// Landscape phone to portrait tablet
- @media (max-width: 768px) { ... }
+ @media (max-width: 767px) { ... }
// Portrait tablet to landscape and desktop
- @media (min-width: 768px) and (max-width: 980px) { ... }
+ @media (min-width: 768px) and (max-width: 979px) { ... }
// Large desktop
- @media (min-width: 1200px) { .. }
+ @media (min-width: 1200px) { ... }
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache
index 40b264d03e..13c777a260 100644
--- a/docs/templates/pages/scaffolding.mustache
+++ b/docs/templates/pages/scaffolding.mustache
@@ -456,13 +456,13 @@
@media (max-width: 480px) { ... }
// {{_i}}Landscape phone to portrait tablet{{/i}}
- @media (max-width: 768px) { ... }
+ @media (max-width: 767px) { ... }
// {{_i}}Portrait tablet to landscape and desktop{{/i}}
- @media (min-width: 768px) and (max-width: 980px) { ... }
+ @media (min-width: 768px) and (max-width: 979px) { ... }
// {{_i}}Large desktop{{/i}}
- @media (min-width: 1200px) { .. }
+ @media (min-width: 1200px) { ... }