diff options
| author | Patrick H. Lauke <[email protected]> | 2017-05-05 09:53:45 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-05 09:53:45 +0100 |
| commit | 7338da0cdb98e61c8b3741c29abea8e52357603b (patch) | |
| tree | 4559ccb7ebcf5c3ba1faadb7ed2b229bc3e99d76 | |
| parent | 02d1776069c606c1379bb5fe72e1875f21ad11ee (diff) | |
| download | bootstrap-7338da0cdb98e61c8b3741c29abea8e52357603b.tar.xz bootstrap-7338da0cdb98e61c8b3741c29abea8e52357603b.zip | |
Add shim for "new" HTML5 structural elements (#22573)
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
| -rw-r--r-- | scss/_reboot.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 6a8c6ab37..33fc2d660 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -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 // |
