Skip to content

Commit b6e6074

Browse files
committed
Simplify IE10 fix
Just target the flex container
1 parent b3e5f8d commit b6e6074

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

lib/flex-lg.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,8 @@
143143
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
144144
*/
145145
/* postcss-bem-linter: ignore */
146-
.u-lg-flexRow > *,
147-
.u-lg-flexRowReverse > *,
148-
.u-lg-flexNoWrap > *,
149-
[class*="u-lg-flexJustify"] > *,
150-
[class*="u-lg-flexAlignItems"] > *,
151-
[class*="u-lg-flexAlignContent"] > * {
146+
.u-lg-flex > *,
147+
.u-lg-flexInline > * {
152148
flex-shrink: 1; /* 1 */
153149
}
154150

lib/flex-md.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,8 @@
143143
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
144144
*/
145145
/* postcss-bem-linter: ignore */
146-
.u-md-flexRow > *,
147-
.u-md-flexRowReverse > *,
148-
.u-md-flexNoWrap > *,
149-
[class*="u-md-flexJustify"] > *,
150-
[class*="u-md-flexAlignItems"] > *,
151-
[class*="u-md-flexAlignContent"] > * {
146+
.u-md-flex > *,
147+
.u-md-flexInline > * {
152148
flex-shrink: 1; /* 1 */
153149
}
154150

lib/flex-sm.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,8 @@
143143
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
144144
*/
145145
/* postcss-bem-linter: ignore */
146-
.u-sm-flexRow > *,
147-
.u-sm-flexRowReverse > *,
148-
.u-sm-flexNoWrap > *,
149-
[class*="u-sm-flexJustify"] > *,
150-
[class*="u-sm-flexAlignItems"] > *,
151-
[class*="u-sm-flexAlignContent"] > * {
146+
.u-sm-flex > *,
147+
.u-sm-flexInline > * {
152148
flex-shrink: 1; /* 1 */
153149
}
154150

lib/flex.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,8 @@
138138
* 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
139139
*/
140140
/* postcss-bem-linter: ignore */
141-
.u-flexRow > *,
142-
.u-flexRowReverse > *,
143-
.u-flexNoWrap > *,
144-
[class*="u-flexJustify"] > *,
145-
[class*="u-flexAlignItems"] > *,
146-
[class*="u-flexAlignContent"] > * {
141+
.u-flex > *,
142+
.u-flexInline > * {
147143
flex-shrink: 1; /* 1 */
148144
}
149145

0 commit comments

Comments
 (0)