mirror of https://github.com/ElemeFE/element
Layout: add flex-basis so it works in IE11 (#9655)
parent
645b30f1c7
commit
5015589753
|
@ -4,6 +4,7 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
flex-basis: auto;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
@include b(main) {
|
||||
flex: 1;
|
||||
flex-basis: auto;
|
||||
overflow: auto;
|
||||
box-sizing: border-box;
|
||||
padding: $--main-padding;
|
||||
|
|
Loading…
Reference in New Issue