Skip to content

Commit c11d2b5

Browse files
markpineroadamwathan
authored andcommitted
Update normalize.css to v8.0.1
Normalize 8.0.0 regressed behavior in IE incorrectly rendering `main` tags. Applying normalize.css 8.0.1 rules to `preflight.css`
1 parent e0af368 commit c11d2b5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css/preflight.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
1+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
22

33
/* Document
44
========================================================================== */
@@ -24,6 +24,14 @@ body {
2424
margin: 0;
2525
}
2626

27+
/**
28+
* Render the `main` element consistently in IE.
29+
*/
30+
31+
main {
32+
display: block;
33+
}
34+
2735
/**
2836
* Correct the font size and margin on `h1` elements within `section` and
2937
* `article` contexts in Chrome, Firefox, and Safari.

0 commit comments

Comments
 (0)