Skip to content

Commit

Permalink
Simplify IE10 fix
Browse files Browse the repository at this point in the history
Just target the flex container
  • Loading branch information
simonsmith committed Nov 19, 2015
1 parent b3e5f8d commit b6e6074
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 24 deletions.
8 changes: 2 additions & 6 deletions lib/flex-lg.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,8 @@
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
*/
/* postcss-bem-linter: ignore */
.u-lg-flexRow > *,
.u-lg-flexRowReverse > *,
.u-lg-flexNoWrap > *,
[class*="u-lg-flexJustify"] > *,
[class*="u-lg-flexAlignItems"] > *,
[class*="u-lg-flexAlignContent"] > * {
.u-lg-flex > *,
.u-lg-flexInline > * {
flex-shrink: 1; /* 1 */
}

Expand Down
8 changes: 2 additions & 6 deletions lib/flex-md.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,8 @@
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
*/
/* postcss-bem-linter: ignore */
.u-md-flexRow > *,
.u-md-flexRowReverse > *,
.u-md-flexNoWrap > *,
[class*="u-md-flexJustify"] > *,
[class*="u-md-flexAlignItems"] > *,
[class*="u-md-flexAlignContent"] > * {
.u-md-flex > *,
.u-md-flexInline > * {
flex-shrink: 1; /* 1 */
}

Expand Down
8 changes: 2 additions & 6 deletions lib/flex-sm.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,8 @@
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
*/
/* postcss-bem-linter: ignore */
.u-sm-flexRow > *,
.u-sm-flexRowReverse > *,
.u-sm-flexNoWrap > *,
[class*="u-sm-flexJustify"] > *,
[class*="u-sm-flexAlignItems"] > *,
[class*="u-sm-flexAlignContent"] > * {
.u-sm-flex > *,
.u-sm-flexInline > * {
flex-shrink: 1; /* 1 */
}

Expand Down
8 changes: 2 additions & 6 deletions lib/flex.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,8 @@
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
*/
/* postcss-bem-linter: ignore */
.u-flexRow > *,
.u-flexRowReverse > *,
.u-flexNoWrap > *,
[class*="u-flexJustify"] > *,
[class*="u-flexAlignItems"] > *,
[class*="u-flexAlignContent"] > * {
.u-flex > *,
.u-flexInline > * {
flex-shrink: 1; /* 1 */
}

Expand Down

0 comments on commit b6e6074

Please sign in to comment.