Skip to content

Commit

Permalink
Fix CSS bug in IE11
Browse files Browse the repository at this point in the history
Fixes #9 and Amsterdam/amsterdam.github.io#62

IE10 and IE11 default values for flex are 0 0 auto rather than 0 1 auto, as per the draft spec, as of September 2013

In order to have IE11 behave according to the specifications, `flex: 1;` needs to be replaced with the actual flex value, in this case `flex: 1 1 auto;`
  • Loading branch information
bvhme committed Sep 10, 2018
1 parent a8f2f9d commit 161d59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ header>a:hover {

/* The main content */
main {
flex: 1;
flex: 1 1 auto;
}

main>article {
Expand Down

0 comments on commit 161d59d

Please sign in to comment.