Browse Source

chore: IE10下默认shrink不是1

es6
guy 3 years ago
parent
commit
f23c7488f5
  1. 7
      src/less/core/wrapper/flex.horizontal.less
  2. 7
      src/less/core/wrapper/flex.vertical.less
  3. 7
      src/less/core/wrapper/flex.wrapper.horizontal.less
  4. 7
      src/less/core/wrapper/flex.wrapper.vertical.less

7
src/less/core/wrapper/flex.horizontal.less

@ -160,16 +160,23 @@
}
> .f-s-n {
&, &.f-f {
-webkit-flex-shrink: 0;
-moz-flex-shrink: 0;
-ms-flex-shrink: 0;
flex-shrink: 0;
}
}
> .f-f {
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
// IE10下默认shrink为0
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}

7
src/less/core/wrapper/flex.vertical.less

@ -159,16 +159,23 @@
}
> .f-s-n {
&, &.f-f {
-webkit-flex-shrink: 0;
-moz-flex-shrink: 0;
-ms-flex-shrink: 0;
flex-shrink: 0;
}
}
> .f-f {
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
// IE10下默认shrink为0
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}

7
src/less/core/wrapper/flex.wrapper.horizontal.less

@ -256,17 +256,24 @@
}
> .f-s-n {
&, &.f-f {
-webkit-flex-shrink: 0;
-moz-flex-shrink: 0;
-ms-flex-shrink: 0;
flex-shrink: 0;
}
}
> .f-f {
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
// IE10下默认shrink为0
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}
}

7
src/less/core/wrapper/flex.wrapper.vertical.less

@ -250,17 +250,24 @@
}
> .f-s-n {
&, &.f-f {
-webkit-flex-shrink: 0;
-moz-flex-shrink: 0;
-ms-flex-shrink: 0;
flex-shrink: 0;
}
}
> .f-f {
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
// IE10下默认shrink为0
-webkit-flex-shrink: 1;
-moz-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
}
}
}

Loading…
Cancel
Save