aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-12-02 20:57:34 -0800
committerMark Otto <[email protected]>2012-12-02 20:57:34 -0800
commitf514c87d6b74de949732c325f70d195453fe2d28 (patch)
tree2d654663fd768d79a4dad679c3b5eaa76f20e704
parent30d6a71ccd383c6b2498cf58d99db399c850a551 (diff)
downloadbootstrap-f514c87d6b74de949732c325f70d195453fe2d28.tar.xz
bootstrap-f514c87d6b74de949732c325f70d195453fe2d28.zip
Enable responsive features in IE10 when snapped
-rw-r--r--docs/assets/css/bootstrap-responsive.css4
-rw-r--r--less/responsive.less8
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index 04ba99554..a3352d774 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -8,6 +8,10 @@
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
+@-ms-viewport {
+ width: device-width;
+}
+
.clearfix {
*zoom: 1;
}
diff --git a/less/responsive.less b/less/responsive.less
index b511b7882..b05251ae6 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -14,6 +14,14 @@
// -------------------------------------------------------------
+// IE10 Metro responsive
+// Required for Windows 8 Metro split-screen snapping with IE10
+
+@-ms-viewport{
+ width: device-width;
+}
+
+
// REPEAT VARIABLES & MIXINS
// -------------------------
// Required since we compile the responsive stuff separately