Wrap `@viewport` with `@at-root` for nested import

See https://github.com/twbs/bootstrap-sass/pull/805
This commit is contained in:
Gleb Mazovetskiy 2015-04-27 20:15:17 +01:00
parent b9ed61854c
commit b832c3cb97
1 changed files with 7 additions and 6 deletions

View File

@ -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