diff options
| author | Gleb Mazovetskiy <[email protected]> | 2015-04-27 20:15:17 +0100 |
|---|---|---|
| committer | Gleb Mazovetskiy <[email protected]> | 2015-04-27 20:15:17 +0100 |
| commit | b832c3cb97b391bf4274cd8048a173d57a00c537 (patch) | |
| tree | a14f6d3ef569259ee5a6a5c31e4d90cca3e85bbe | |
| parent | b9ed61854c54c59bde593d81a7983aa64acecda7 (diff) | |
| download | bootstrap-b832c3cb97b391bf4274cd8048a173d57a00c537.tar.xz bootstrap-b832c3cb97b391bf4274cd8048a173d57a00c537.zip | |
Wrap `@viewport` with `@at-root` for nested import
See https://github.com/twbs/bootstrap-sass/pull/805
| -rw-r--r-- | scss/_reboot.scss | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 16e9603f3..f25e2cdb1 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 |
