Browse Source

BI-104841 fix: ie11的在fill布局中解决不出现滚动条问题中, 只识别overflow:hidden或者不为零的min-height

min-height:0 IE不管用. 0或者1其实都无所谓,因此改成1
es6
zsmj 3 years ago
parent
commit
7152d5dfa1
  1. 3
      src/less/core/wrapper/flex.horizontal.less
  2. 3
      src/less/core/wrapper/flex.vertical.less
  3. 3
      src/less/core/wrapper/flex.wrapper.horizontal.less
  4. 3
      src/less/core/wrapper/flex.wrapper.vertical.less

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

@ -170,8 +170,9 @@
> .f-f { > .f-f {
&:not(.f-s-n) { &:not(.f-s-n) {
min-width: 0; min-width: 1px;
} }
-webkit-flex-grow: 1; -webkit-flex-grow: 1;
-moz-flex-grow: 1; -moz-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;

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

@ -169,8 +169,9 @@
> .f-f { > .f-f {
&:not(.f-s-n) { &:not(.f-s-n) {
min-height: 0; min-height: 1px;
} }
-webkit-flex-grow: 1; -webkit-flex-grow: 1;
-moz-flex-grow: 1; -moz-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;

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

@ -266,8 +266,9 @@
> .f-f { > .f-f {
&:not(.f-s-n) { &:not(.f-s-n) {
min-width: 0; min-width: 1px;
} }
-webkit-flex-grow: 1; -webkit-flex-grow: 1;
-moz-flex-grow: 1; -moz-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;

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

@ -260,8 +260,9 @@
> .f-f { > .f-f {
&:not(.f-s-n) { &:not(.f-s-n) {
min-height: 0; min-height: 1px;
} }
-webkit-flex-grow: 1; -webkit-flex-grow: 1;
-moz-flex-grow: 1; -moz-flex-grow: 1;
-ms-flex-grow: 1; -ms-flex-grow: 1;

Loading…
Cancel
Save