]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add shim for "new" HTML5 structural elements (#22573)
authorPatrick H. Lauke <redux@splintered.co.uk>
Fri, 5 May 2017 08:53:45 +0000 (09:53 +0100)
committerGitHub <noreply@github.com>
Fri, 5 May 2017 08:53:45 +0000 (09:53 +0100)
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.

scss/_reboot.scss

index 6a8c6ab370da84fc3051617641db48896c6051b1..33fc2d660aed1355d9448baf9f49cd615ef03f06 100644 (file)
@@ -39,6 +39,10 @@ html {
   @-ms-viewport { width: device-width; }
 }
 
+// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
+article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
+  display: block;
+}
 
 // Body
 //