From: Mark Otto Date: Mon, 3 Dec 2012 04:57:34 +0000 (-0800) Subject: Enable responsive features in IE10 when snapped X-Git-Tag: v2.2.2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f514c87d6b74de949732c325f70d195453fe2d28;p=thirdparty%2Fbootstrap.git Enable responsive features in IE10 when snapped --- 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