]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update bootstrap-grid.scss to include box-sizing and responsive changes (#21202)
authorMark Otto <markd.otto@gmail.com>
Sat, 26 Nov 2016 07:03:07 +0000 (23:03 -0800)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2016 07:03:07 +0000 (23:03 -0800)
scss/bootstrap-grid.scss

index 40680ca96576ddff0970b283376d83d0bf1364ea..1df8ea3b6da2ec4449fc7f557d1dd3333074c87e 100644 (file)
@@ -3,6 +3,25 @@
 // Includes relevant variables and mixins for the regular (non-flexbox) grid
 // system, as well as the generated predefined classes (e.g., `.col-4-sm`).
 
+//
+// Box sizing, responsive, and more
+//
+
+@at-root {
+  @-ms-viewport { width: device-width; }
+}
+
+html {
+  box-sizing: border-box;
+  -ms-overflow-style: scrollbar;
+}
+
+*,
+*::before,
+*::after {
+  box-sizing: inherit;
+}
+
 
 //
 // Variables