From b832c3cb97b391bf4274cd8048a173d57a00c537 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 27 Apr 2015 20:15:17 +0100 Subject: [PATCH] Wrap `@viewport` with `@at-root` for nested import See https://github.com/twbs/bootstrap-sass/pull/805 --- scss/_reboot.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 16e9603f31..f25e2cdb1d 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -42,12 +42,13 @@ html { // // See http://getbootstrap.com/getting-started/#support-ie10-width for the relevant hack. -@-moz-viewport { width: device-width; } -@-ms-viewport { width: device-width; } -@-o-viewport { width: device-width; } -@-webkit-viewport { width: device-width; } -@viewport { width: device-width; } - +@at-root { + @-moz-viewport { width: device-width; } + @-ms-viewport { width: device-width; } + @-o-viewport { width: device-width; } + @-webkit-viewport { width: device-width; } + @viewport { width: device-width; } +} // // Reset HTML, body, and more