From f514c87d6b74de949732c325f70d195453fe2d28 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 2 Dec 2012 20:57:34 -0800 Subject: [PATCH] Enable responsive features in IE10 when snapped --- docs/assets/css/bootstrap-responsive.css | 4 ++++ less/responsive.less | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 04ba99554d..a3352d774c 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 b511b7882b..b05251ae67 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